00:00
tpb has quit [Remote host closed the connection]
00:00
tpb has joined #yosys
00:16
uis has joined #yosys
00:58
citypw has joined #yosys
01:01
uis has joined #yosys
02:33
bl0x_ has quit [Ping timeout: 240 seconds]
02:35
bl0x_ has joined #yosys
03:34
nelgau has quit [Remote host closed the connection]
03:50
nelgau has joined #yosys
04:51
sagar_acharya has joined #yosys
05:16
nelgau has quit [Remote host closed the connection]
05:19
lumo_e has quit [Quit: Quit]
05:54
sagar_acharya has quit [Quit: Leaving]
06:15
cr1901 has quit [Remote host closed the connection]
06:16
cr1901 has joined #yosys
06:21
sagar_acharya has joined #yosys
07:12
_whitelogger has joined #yosys
07:32
sagar_acharya has quit [Quit: Leaving]
07:55
FabM has joined #yosys
07:55
FabM has joined #yosys
07:55
FabM has quit [Changing host]
08:09
bl0x_ has quit [*.net *.split]
08:09
uis has quit [*.net *.split]
08:09
nelgau has quit [*.net *.split]
08:09
srk has quit [*.net *.split]
08:09
ikskuh has quit [*.net *.split]
08:09
lexano has quit [*.net *.split]
08:09
smkz has quit [*.net *.split]
08:09
citypw has quit [*.net *.split]
08:09
jryans has quit [*.net *.split]
08:09
pepijndevos[m] has quit [*.net *.split]
08:09
duck2 has quit [*.net *.split]
08:09
mwk has quit [*.net *.split]
08:09
ecs has quit [*.net *.split]
08:09
mobius has quit [*.net *.split]
08:09
esden has quit [*.net *.split]
08:09
svenn has quit [*.net *.split]
08:09
tucanae47_ has quit [*.net *.split]
08:09
CarlosEDP has quit [*.net *.split]
08:09
sadoon_albader[m has quit [*.net *.split]
08:09
chaoticryptidz has quit [*.net *.split]
08:09
philtor has quit [*.net *.split]
08:09
mithro has quit [*.net *.split]
08:09
buhman has quit [*.net *.split]
08:09
TD-Linux has quit [*.net *.split]
08:09
jix has quit [*.net *.split]
08:09
killjoy has quit [*.net *.split]
08:09
corecode has quit [*.net *.split]
08:09
tmiw has quit [*.net *.split]
08:09
tnt has quit [*.net *.split]
08:09
ZipCPU has quit [*.net *.split]
08:09
lofty has quit [*.net *.split]
08:09
bluesceada has quit [*.net *.split]
08:09
lkcl has quit [*.net *.split]
08:09
levalicious[m] has quit [*.net *.split]
08:09
promach[m] has quit [*.net *.split]
08:09
Knarfian_____ has quit [*.net *.split]
08:09
Stary has quit [*.net *.split]
08:09
dys has quit [*.net *.split]
08:09
mewt has quit [*.net *.split]
08:09
lethalbit has quit [*.net *.split]
08:09
jevinskie[m] has quit [*.net *.split]
08:09
xiretza[m] has quit [*.net *.split]
08:09
lambda has quit [*.net *.split]
08:09
koorogi1 has quit [*.net *.split]
08:09
piegames1 has quit [*.net *.split]
08:09
eigenform has quit [*.net *.split]
08:09
vup has quit [*.net *.split]
08:09
anuejn has quit [*.net *.split]
08:09
vancz has quit [*.net *.split]
08:09
shoragan has quit [*.net *.split]
08:09
Sarayan has quit [*.net *.split]
08:09
kbeckmann has quit [*.net *.split]
08:09
sorear has quit [*.net *.split]
08:09
agg has quit [*.net *.split]
08:09
modwizcode has quit [*.net *.split]
08:09
emilazy has quit [*.net *.split]
08:09
gatecat has quit [*.net *.split]
08:09
stefanct has quit [*.net *.split]
08:09
Kamilion has quit [*.net *.split]
08:09
diadatp has quit [*.net *.split]
08:09
whitequark has quit [*.net *.split]
08:09
somlo has quit [*.net *.split]
08:09
Raito_Bezarius has quit [*.net *.split]
08:09
knielsen has quit [*.net *.split]
08:14
vidbina has joined #yosys
08:21
Raito_Bezarius has joined #yosys
08:21
nelgau has joined #yosys
08:21
uis has joined #yosys
08:21
bl0x_ has joined #yosys
08:21
citypw has joined #yosys
08:21
ikskuh has joined #yosys
08:21
srk has joined #yosys
08:21
lexano has joined #yosys
08:21
tnt has joined #yosys
08:21
ZipCPU has joined #yosys
08:21
CarlosEDP has joined #yosys
08:21
jevinskie[m] has joined #yosys
08:21
whitequark has joined #yosys
08:21
levalicious[m] has joined #yosys
08:21
diadatp has joined #yosys
08:21
modwizcode has joined #yosys
08:21
xiretza[m] has joined #yosys
08:21
emilazy has joined #yosys
08:21
lofty has joined #yosys
08:21
sadoon_albader[m has joined #yosys
08:21
svenn has joined #yosys
08:21
mobius has joined #yosys
08:21
tucanae47_ has joined #yosys
08:21
esden has joined #yosys
08:21
ecs has joined #yosys
08:21
mwk has joined #yosys
08:21
duck2 has joined #yosys
08:21
corecode has joined #yosys
08:21
tmiw has joined #yosys
08:21
mithro has joined #yosys
08:21
jix has joined #yosys
08:21
killjoy has joined #yosys
08:21
TD-Linux has joined #yosys
08:21
mewt has joined #yosys
08:21
Stary has joined #yosys
08:21
dys has joined #yosys
08:21
Knarfian_____ has joined #yosys
08:21
shoragan has joined #yosys
08:21
anuejn has joined #yosys
08:21
vancz has joined #yosys
08:21
eigenform has joined #yosys
08:21
koorogi1 has joined #yosys
08:21
lambda has joined #yosys
08:21
Kamilion has joined #yosys
08:21
stefanct has joined #yosys
08:21
gatecat has joined #yosys
08:21
agg has joined #yosys
08:21
sorear has joined #yosys
08:21
promach[m] has joined #yosys
08:21
jryans has joined #yosys
08:21
smkz has joined #yosys
08:21
kbeckmann has joined #yosys
08:21
somlo has joined #yosys
08:21
pepijndevos[m] has joined #yosys
08:21
lkcl has joined #yosys
08:21
bluesceada has joined #yosys
08:21
Sarayan has joined #yosys
08:21
knielsen has joined #yosys
08:21
buhman has joined #yosys
08:21
philtor has joined #yosys
08:21
lethalbit has joined #yosys
08:21
vup has joined #yosys
08:21
piegames1 has joined #yosys
08:21
chaoticryptidz has joined #yosys
08:37
vidbina has quit [Ping timeout: 240 seconds]
08:39
vidbina has joined #yosys
08:44
vidbina has quit [Ping timeout: 268 seconds]
08:46
vidbina has joined #yosys
09:01
nelgau has quit [Remote host closed the connection]
09:07
sagar_acharya has joined #yosys
09:33
gmc_ has joined #yosys
10:40
citypw has quit [Ping timeout: 276 seconds]
10:41
citypw has joined #yosys
11:05
vidbina has quit [Ping timeout: 256 seconds]
11:07
<
sagar_acharya >
Folks I have this really basic doubt
11:08
<
sagar_acharya >
assign vga_clk = clk_div[1];
11:08
<
sagar_acharya >
reg[1:0]clk_div;
11:08
<
sagar_acharya >
wirevga_clk;
11:09
<
sagar_acharya >
In above statements. vga_clk will have what time period?
11:09
<
ikskuh >
you increment clk_div every clk?
11:09
<
sagar_acharya >
Yes, on every posedge
11:09
<
ikskuh >
i guess 1/4 clk
11:09
<
sagar_acharya >
It's not my code. I'm just trying to understand
11:09
<
sagar_acharya >
How?
11:09
<
sagar_acharya >
Shouldn't it be 1/2
11:10
<
sagar_acharya >
Since we have 00, 01, 10, and 11.
11:10
<
ikskuh >
incrementing on every clk means that you toggle clk_div[0] on every clk
11:10
<
ikskuh >
thus, clk_div[0] has 1/2 freq of clk
11:10
<
sagar_acharya >
So clk_div[1] should be 0 0 and then 1 1 right
11:10
<
sagar_acharya >
aah alright
11:12
<
sagar_acharya >
ikskuh: Thanks
11:16
vidbina has joined #yosys
11:20
vidbina has quit [Ping timeout: 240 seconds]
11:37
sagar_acharya has quit [Read error: Connection reset by peer]
11:39
vidbina has joined #yosys
11:47
vidbina has quit [Ping timeout: 240 seconds]
11:48
vidbina has joined #yosys
11:52
sagar_acharya has joined #yosys
11:54
sagar_acharya has quit [Client Quit]
12:10
chaoticryptidz has joined #yosys
12:11
uis has joined #yosys
12:47
sagar_acharya has joined #yosys
12:51
uis has joined #yosys
13:24
AdamHord- is now known as AdamHorden
14:01
sagar_acharya has quit [Quit: Leaving]
15:21
uis has joined #yosys
15:29
uis has joined #yosys
15:38
uis has joined #yosys
15:42
citypw has quit [Ping timeout: 276 seconds]
15:43
FabM has quit [Ping timeout: 240 seconds]
15:57
FabM has joined #yosys
15:57
FabM has joined #yosys
15:57
FabM has quit [Changing host]
16:28
adjtm has joined #yosys
16:53
gsmecher has joined #yosys
17:06
sagar_acharya has joined #yosys
17:29
<
sagar_acharya >
I see there's some syntax like
17:30
<
sagar_acharya >
module top #()();
17:30
<
sagar_acharya >
There are parameters within first brackets
17:30
<
sagar_acharya >
What's that?
17:30
<
sagar_acharya >
Is it some convention
17:32
<
sagar_acharya >
Also, does yosys synthesize initial blocks?
17:32
<
sagar_acharya >
I learnt in 1 course that synthesis tools don't support initial.
17:50
vidbina has quit [Ping timeout: 240 seconds]
17:58
sagar_acharya has quit [Quit: Leaving]
18:16
sagar_acharya has joined #yosys
18:19
<
sagar_acharya >
Can someone please explain what picosoc is?
18:20
<
sagar_acharya >
wrt picorv32 processor implemented.
18:22
<
sagar_acharya >
I did read that. I'm a newbie so I still don't get it.
18:22
<
sagar_acharya >
I understand how rv32 is implemented
18:22
<
sagar_acharya >
I don't get what they mean by soc.
18:22
<
sagar_acharya >
>It can be used as a turn-key solution for simple control tasks in
18:22
<
sagar_acharya >
ASIC and FPGA designs.
18:22
<
mwk >
sagar_acharya: yosys does indeed recognize and support initial blocks
18:22
<
mwk >
specifically ones that initialize registers and memories
18:23
<
sagar_acharya >
mwk: Thanks
18:23
<
mwk >
about synthesis tools not supporting initial: that's generally a property of ASIC synthesis tools; FPGA tools tend to support them
18:24
<
mwk >
because in ASICs you don't really get to pick the starting state of the registers
18:24
<
sagar_acharya >
Aah yes, true.
18:24
<
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
18:25
<
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
18:26
<
mwk >
and as for soc
18:26
<
mwk >
it means "system on chip"
18:26
<
mwk >
ie. cpu core + whatever peripherials you need to communicate with outside world
18:27
<
mwk >
usually written as SoC
18:27
<
sagar_acharya >
For now, I need to implement, vga, ps2, a simple shell and rv32.
18:27
<
mwk >
SoC can be anything from something simple like picosoc to something very complex like the ARM chips found in smartphones
18:28
<
sagar_acharya >
So will vga and ps2 verilog modules + picosoc do such a thing?
18:28
<
sagar_acharya >
I was thinking some shell program compiled from C for rv32 should work. I have no idea though.
18:28
<
mwk >
doing homework, aren't we
18:28
<
sagar_acharya >
mwk: meaning?
18:29
<
mwk >
picosoc + vga + ps2 can make for a usable system, as far as hardware goes
18:29
<
mwk >
software stack is another thing
18:30
<
sagar_acharya >
I mean if I compile some shell program from C, it could be run on rv32 and displayed on screen right?
18:30
<
sagar_acharya >
I want a very old OS type thing like
18:30
<
sagar_acharya >
shell -> program A -> shell
18:30
<
sagar_acharya >
shell -> program B -> shell
18:31
<
xiretza[m] >
you'll at least have to write some drivers for your VGA and PS2 peripherals
18:31
<
mwk >
if you want an OS, you have to write or otherwise obtain an OS
18:31
<
sagar_acharya >
Yes, I have taken them from another code, xiretza
18:31
<
sagar_acharya >
Naah, those OSes are out of the world complex.
18:32
<
sagar_acharya >
I need just shell display and a couple cryptography programs.
18:32
<
sagar_acharya >
1st thing is just shell for now.
18:32
<
sagar_acharya >
shell with echo program
18:33
vidbina has joined #yosys
18:34
<
sagar_acharya >
ok, I'll start with vga + ps2 + picosoc then. Thanks folks!
18:35
<
sagar_acharya >
mwk and xiretza!
18:47
sagar_acharya has quit [Quit: Leaving]
19:25
nelgau has joined #yosys
19:29
vidbina has quit [Ping timeout: 256 seconds]
20:53
vidbina has joined #yosys
20:54
vidbina has quit [Client Quit]
20:55
FabM has quit [Ping timeout: 268 seconds]
20:56
vidbina has joined #yosys
20:58
kristianpaul has quit [Quit: WeeChat 3.4]
20:59
kristianpaul has joined #yosys
20:59
kristianpaul has joined #yosys
20:59
kristianpaul has quit [Changing host]
20:59
kristianpaul has quit [Client Quit]
21:03
kristianpaul has joined #yosys
21:49
nelgau has quit [Remote host closed the connection]
21:50
nelgau has joined #yosys
23:32
nelgau has quit [Remote host closed the connection]