ChanServ changed the topic of #yosys to: Yosys Open SYnthesis Suite: https://github.com/YosysHQ/yosys/ | Channel logs: https://libera.irclog.whitequark.org/yosys/
tpb has quit [Remote host closed the connection]
tpb has joined #yosys
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #yosys
citypw has joined #yosys
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #yosys
bl0x_ has quit [Ping timeout: 240 seconds]
bl0x_ has joined #yosys
nelgau has quit [Remote host closed the connection]
nelgau has joined #yosys
sagar_acharya has joined #yosys
nelgau has quit [Remote host closed the connection]
lumo_e has quit [Quit: Quit]
sagar_acharya has quit [Quit: Leaving]
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #yosys
sagar_acharya has joined #yosys
_whitelogger has joined #yosys
sagar_acharya has quit [Quit: Leaving]
FabM has joined #yosys
FabM has joined #yosys
FabM has quit [Changing host]
bl0x_ has quit [*.net *.split]
uis has quit [*.net *.split]
nelgau has quit [*.net *.split]
srk has quit [*.net *.split]
ikskuh has quit [*.net *.split]
lexano has quit [*.net *.split]
smkz has quit [*.net *.split]
citypw has quit [*.net *.split]
jryans has quit [*.net *.split]
pepijndevos[m] has quit [*.net *.split]
duck2 has quit [*.net *.split]
mwk has quit [*.net *.split]
ecs has quit [*.net *.split]
mobius has quit [*.net *.split]
esden has quit [*.net *.split]
svenn has quit [*.net *.split]
tucanae47_ has quit [*.net *.split]
CarlosEDP has quit [*.net *.split]
sadoon_albader[m has quit [*.net *.split]
chaoticryptidz has quit [*.net *.split]
philtor has quit [*.net *.split]
mithro has quit [*.net *.split]
buhman has quit [*.net *.split]
TD-Linux has quit [*.net *.split]
jix has quit [*.net *.split]
killjoy has quit [*.net *.split]
corecode has quit [*.net *.split]
tmiw has quit [*.net *.split]
tnt has quit [*.net *.split]
ZipCPU has quit [*.net *.split]
lofty has quit [*.net *.split]
bluesceada has quit [*.net *.split]
lkcl has quit [*.net *.split]
levalicious[m] has quit [*.net *.split]
promach[m] has quit [*.net *.split]
Knarfian_____ has quit [*.net *.split]
Stary has quit [*.net *.split]
dys has quit [*.net *.split]
mewt has quit [*.net *.split]
lethalbit has quit [*.net *.split]
jevinskie[m] has quit [*.net *.split]
xiretza[m] has quit [*.net *.split]
lambda has quit [*.net *.split]
koorogi1 has quit [*.net *.split]
piegames1 has quit [*.net *.split]
eigenform has quit [*.net *.split]
vup has quit [*.net *.split]
anuejn has quit [*.net *.split]
vancz has quit [*.net *.split]
shoragan has quit [*.net *.split]
Sarayan has quit [*.net *.split]
kbeckmann has quit [*.net *.split]
sorear has quit [*.net *.split]
agg has quit [*.net *.split]
modwizcode has quit [*.net *.split]
emilazy has quit [*.net *.split]
gatecat has quit [*.net *.split]
stefanct has quit [*.net *.split]
Kamilion has quit [*.net *.split]
diadatp has quit [*.net *.split]
whitequark has quit [*.net *.split]
somlo has quit [*.net *.split]
Raito_Bezarius has quit [*.net *.split]
knielsen has quit [*.net *.split]
vidbina has joined #yosys
Raito_Bezarius has joined #yosys
nelgau has joined #yosys
uis has joined #yosys
bl0x_ has joined #yosys
citypw has joined #yosys
ikskuh has joined #yosys
srk has joined #yosys
lexano has joined #yosys
tnt has joined #yosys
ZipCPU has joined #yosys
CarlosEDP has joined #yosys
jevinskie[m] has joined #yosys
whitequark has joined #yosys
levalicious[m] has joined #yosys
diadatp has joined #yosys
modwizcode has joined #yosys
xiretza[m] has joined #yosys
emilazy has joined #yosys
lofty has joined #yosys
sadoon_albader[m has joined #yosys
svenn has joined #yosys
mobius has joined #yosys
tucanae47_ has joined #yosys
esden has joined #yosys
ecs has joined #yosys
mwk has joined #yosys
duck2 has joined #yosys
corecode has joined #yosys
tmiw has joined #yosys
mithro has joined #yosys
jix has joined #yosys
killjoy has joined #yosys
TD-Linux has joined #yosys
mewt has joined #yosys
Stary has joined #yosys
dys has joined #yosys
Knarfian_____ has joined #yosys
shoragan has joined #yosys
anuejn has joined #yosys
vancz has joined #yosys
eigenform has joined #yosys
koorogi1 has joined #yosys
lambda has joined #yosys
Kamilion has joined #yosys
stefanct has joined #yosys
gatecat has joined #yosys
agg has joined #yosys
sorear has joined #yosys
promach[m] has joined #yosys
jryans has joined #yosys
smkz has joined #yosys
kbeckmann has joined #yosys
somlo has joined #yosys
pepijndevos[m] has joined #yosys
lkcl has joined #yosys
bluesceada has joined #yosys
Sarayan has joined #yosys
knielsen has joined #yosys
buhman has joined #yosys
philtor has joined #yosys
lethalbit has joined #yosys
vup has joined #yosys
piegames1 has joined #yosys
chaoticryptidz has joined #yosys
vidbina has quit [Ping timeout: 240 seconds]
vidbina has joined #yosys
vidbina has quit [Ping timeout: 268 seconds]
vidbina has joined #yosys
nelgau has quit [Remote host closed the connection]
sagar_acharya has joined #yosys
gmc_ has joined #yosys
citypw has quit [Ping timeout: 276 seconds]
citypw has joined #yosys
vidbina has quit [Ping timeout: 256 seconds]
<sagar_acharya> Folks I have this really basic doubt
<sagar_acharya> assign vga_clk = clk_div[1];
<sagar_acharya> reg[1:0]clk_div;
<sagar_acharya> wirevga_clk;
<sagar_acharya> In above statements. vga_clk will have what time period?
<ikskuh> you increment clk_div every clk?
<sagar_acharya> Yes, on every posedge
<ikskuh> i guess 1/4 clk
<sagar_acharya> It's not my code. I'm just trying to understand
<sagar_acharya> How?
<sagar_acharya> Shouldn't it be 1/2
<ikskuh> no
<sagar_acharya> Since we have 00, 01, 10, and 11.
<ikskuh> incrementing on every clk means that you toggle clk_div[0] on every clk
<ikskuh> thus, clk_div[0] has 1/2 freq of clk
<sagar_acharya> So clk_div[1] should be 0 0 and then 1 1 right
<sagar_acharya> aah alright
<sagar_acharya> ikskuh: Thanks
vidbina has joined #yosys
vidbina has quit [Ping timeout: 240 seconds]
sagar_acharya has quit [Read error: Connection reset by peer]
vidbina has joined #yosys
vidbina has quit [Ping timeout: 240 seconds]
vidbina has joined #yosys
sagar_acharya has joined #yosys
sagar_acharya has quit [Client Quit]
chaoticryptidz has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
chaoticryptidz has joined #yosys
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #yosys
sagar_acharya has joined #yosys
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #yosys
AdamHord- is now known as AdamHorden
sagar_acharya has quit [Quit: Leaving]
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #yosys
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #yosys
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #yosys
citypw has quit [Ping timeout: 276 seconds]
FabM has quit [Ping timeout: 240 seconds]
FabM has joined #yosys
FabM has joined #yosys
FabM has quit [Changing host]
adjtm has joined #yosys
gsmecher has joined #yosys
sagar_acharya has joined #yosys
<sagar_acharya> I see there's some syntax like
<sagar_acharya> module top #()();
<sagar_acharya> There are parameters within first brackets
<sagar_acharya> What's that?
<sagar_acharya> Is it some convention
<sagar_acharya> Also, does yosys synthesize initial blocks?
<sagar_acharya> I learnt in 1 course that synthesis tools don't support initial.
vidbina has quit [Ping timeout: 240 seconds]
sagar_acharya has quit [Quit: Leaving]
sagar_acharya has joined #yosys
<sagar_acharya> Can someone please explain what picosoc is?
<sagar_acharya> wrt picorv32 processor implemented.
<sagar_acharya> I did read that. I'm a newbie so I still don't get it.
<sagar_acharya> I understand how rv32 is implemented
<sagar_acharya> I don't get what they mean by soc.
<sagar_acharya> >It can be used as a turn-key solution for simple control tasks in
<sagar_acharya> ASIC and FPGA designs.
<mwk> sagar_acharya: yosys does indeed recognize and support initial blocks
<mwk> specifically ones that initialize registers and memories
<sagar_acharya> mwk: Thanks
<mwk> about synthesis tools not supporting initial: that's generally a property of ASIC synthesis tools; FPGA tools tend to support them
<mwk> because in ASICs you don't really get to pick the starting state of the registers
<sagar_acharya> Aah yes, true.
<xiretza[m]> picorv32 is purely a processor core, it can't do anything on its own because it doesn't even have anywhere to store instructions - so you attach some peripherals to it (at least some memory and some kind of I/O), and call it a soc
<mwk> it's not a hard rule; for example the sf2 target in yosys doesn't support initial, due to lack of such capability in hardware
<mwk> and as for soc
<mwk> it means "system on chip"
<mwk> ie. cpu core + whatever peripherials you need to communicate with outside world
<mwk> usually written as SoC
<sagar_acharya> For now, I need to implement, vga, ps2, a simple shell and rv32.
<mwk> SoC can be anything from something simple like picosoc to something very complex like the ARM chips found in smartphones
<sagar_acharya> So will vga and ps2 verilog modules + picosoc do such a thing?
<sagar_acharya> I was thinking some shell program compiled from C for rv32 should work. I have no idea though.
<mwk> doing homework, aren't we
<sagar_acharya> mwk: meaning?
<mwk> picosoc + vga + ps2 can make for a usable system, as far as hardware goes
<mwk> software stack is another thing
<sagar_acharya> I mean if I compile some shell program from C, it could be run on rv32 and displayed on screen right?
<sagar_acharya> I want a very old OS type thing like
<sagar_acharya> shell -> program A -> shell
<sagar_acharya> shell -> program B -> shell
<xiretza[m]> you'll at least have to write some drivers for your VGA and PS2 peripherals
<mwk> if you want an OS, you have to write or otherwise obtain an OS
<sagar_acharya> Yes, I have taken them from another code, xiretza
<sagar_acharya> Naah, those OSes are out of the world complex.
<sagar_acharya> I need just shell display and a couple cryptography programs.
<sagar_acharya> 1st thing is just shell for now.
<sagar_acharya> shell with echo program
vidbina has joined #yosys
<sagar_acharya> ok, I'll start with vga + ps2 + picosoc then. Thanks folks!
<sagar_acharya> mwk and xiretza!
sagar_acharya has quit [Quit: Leaving]
nelgau has joined #yosys
vidbina has quit [Ping timeout: 256 seconds]
vidbina has joined #yosys
vidbina has quit [Client Quit]
FabM has quit [Ping timeout: 268 seconds]
vidbina has joined #yosys
kristianpaul has quit [Quit: WeeChat 3.4]
kristianpaul has joined #yosys
kristianpaul has joined #yosys
kristianpaul has quit [Changing host]
kristianpaul has quit [Client Quit]
kristianpaul has joined #yosys
nelgau has quit [Remote host closed the connection]
nelgau has joined #yosys
nelgau has quit [Remote host closed the connection]