00:08
lkcl has quit [Ping timeout: 264 seconds]
00:08
lkcl has quit [Ping timeout: 264 seconds]
00:09
jeanthom has quit [Ping timeout: 245 seconds]
00:09
jeanthom has quit [Ping timeout: 245 seconds]
00:21
lkcl has joined #nmigen
00:21
lkcl has joined #nmigen
00:38
bvernoux1 has quit [Read error: Connection reset by peer]
00:38
bvernoux1 has quit [Read error: Connection reset by peer]
00:40
lf has quit [Ping timeout: 244 seconds]
00:40
lf has quit [Ping timeout: 244 seconds]
00:40
lf has joined #nmigen
00:40
lf has joined #nmigen
00:45
<
_whitenotifier-4 >
[YoWASP/yosys] whitequark 71c19b5 - Update dependencies.
00:45
<
_whitenotifier-4 >
[YoWASP/yosys] whitequark 71c19b5 - Update dependencies.
00:47
<
d1b2 >
<4o> where can i get a fsm example?
00:47
<
d1b2 >
<4o> where can i get a fsm example?
00:51
<
agg >
what sort of thing are you looking for 4o?
00:51
<
agg >
what sort of thing are you looking for 4o?
00:54
<
d1b2 >
<4o> can i reference fsm state outside with m.Fsm()... ?
00:54
<
d1b2 >
<4o> can i reference fsm state outside with m.Fsm()... ?
00:57
<
agg >
if you use "with m.FSM() as fsm" then the fsm variable as a state attribute which is the current state
00:57
<
agg >
if you use "with m.FSM() as fsm" then the fsm variable as a state attribute which is the current state
00:57
<
agg >
but what do you want to do with the state outside the FSM?
00:57
<
agg >
but what do you want to do with the state outside the FSM?
00:58
<
d1b2 >
<4o> split it into 2 processes. 20+ states of transitions and actions will be a mess
00:58
<
d1b2 >
<4o> split it into 2 processes. 20+ states of transitions and actions will be a mess
01:00
<
agg >
depending on your objectives you might be able to just refactor the state logic into separate python functions, or extract a common sub-FSM into a separate module which you can control from the top FSM
01:00
<
agg >
depending on your objectives you might be able to just refactor the state logic into separate python functions, or extract a common sub-FSM into a separate module which you can control from the top FSM
01:01
<
agg >
you can't set the next-state from outside the FSM and I guess bad things happen if you try to override the state from outside the FSM (though I've never tried...), I guess you could just have some extra switches on the fsm state outside of it but maybe you can achieve the same code organisation using normal python tools
01:01
<
agg >
you can't set the next-state from outside the FSM and I guess bad things happen if you try to override the state from outside the FSM (though I've never tried...), I guess you could just have some extra switches on the fsm state outside of it but maybe you can achieve the same code organisation using normal python tools
01:02
<
d1b2 >
<4o> vice versa, i want with m.If(fsm.state == 'one') somwhere else in the code
01:02
<
d1b2 >
<4o> vice versa, i want with m.If(fsm.state == 'one') somwhere else in the code
01:12
lkcl has quit [Ping timeout: 264 seconds]
01:12
lkcl has quit [Ping timeout: 264 seconds]
01:26
lkcl has joined #nmigen
01:26
lkcl has joined #nmigen
01:34
<
agg >
with m.Default() at the end gives you a default case
01:34
<
agg >
with m.Default() at the end gives you a default case
01:39
<
d1b2 >
<4o> default case differs from default value
01:39
<
d1b2 >
<4o> default case differs from default value
01:40
<
agg >
there's a few options, you can use Signal(reset=12) to set a value it takes at reset, you could add an assignment like you have already and it will apply unless overridden by any of the case statements, or you could assign the default value in the default case
01:40
<
agg >
there's a few options, you can use Signal(reset=12) to set a value it takes at reset, you could add an assignment like you have already and it will apply unless overridden by any of the case statements, or you could assign the default value in the default case
01:41
<
agg >
if you have `m.d.comb += b.eq(12)` and later `with m.If(a): m.d.comb += b.eq(13)`, then b is Mux(a, 13, 12)
01:41
<
agg >
if you have `m.d.comb += b.eq(12)` and later `with m.If(a): m.d.comb += b.eq(13)`, then b is Mux(a, 13, 12)
01:42
<
d1b2 >
<4o> wohoo, great. thanks
01:42
<
d1b2 >
<4o> wohoo, great. thanks
01:49
<
agg >
no, you probably want something more like `state = None; with m.FSM() as fsm: state = fsm.state`
01:49
<
agg >
no, you probably want something more like `state = None; with m.FSM() as fsm: state = fsm.state`
01:49
<
agg >
also if you scroll up a little in this room someone asked about exactly that and got an example, last thing before your message
01:49
<
agg >
also if you scroll up a little in this room someone asked about exactly that and got an example, last thing before your message
01:51
<
d1b2 >
<4o> true. that didn't click as an answer. still getting used to thinking both in python and hdl
01:51
<
d1b2 >
<4o> true. that didn't click as an answer. still getting used to thinking both in python and hdl
02:37
Degi_ has joined #nmigen
02:37
Degi_ has joined #nmigen
02:38
Degi_ is now known as Degi
02:38
Degi_ is now known as Degi
02:38
Degi has quit [Ping timeout: 240 seconds]
03:53
futarisIRCcloud has joined #nmigen
03:53
futarisIRCcloud has joined #nmigen
04:12
lkcl has quit [Ping timeout: 240 seconds]
04:12
lkcl has quit [Ping timeout: 240 seconds]
04:26
lkcl has joined #nmigen
04:26
lkcl has joined #nmigen
04:31
PyroPeter_ has joined #nmigen
04:31
PyroPeter_ has joined #nmigen
04:34
PyroPeter_ is now known as PyroPeter
04:34
PyroPeter_ is now known as PyroPeter
04:34
PyroPeter has quit [Ping timeout: 240 seconds]
04:34
PyroPeter has quit [Ping timeout: 240 seconds]
04:52
Bertl_oO is now known as Bertl_zZ
04:52
Bertl_oO is now known as Bertl_zZ
04:58
lkcl has quit [Ping timeout: 240 seconds]
04:58
lkcl has quit [Ping timeout: 240 seconds]
05:11
lkcl has joined #nmigen
05:11
lkcl has joined #nmigen
05:38
lkcl has quit [Ping timeout: 256 seconds]
05:38
lkcl has quit [Ping timeout: 256 seconds]
05:51
lkcl has joined #nmigen
05:51
lkcl has joined #nmigen
05:59
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
05:59
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
06:03
revolve has quit [Read error: Connection reset by peer]
06:03
revolve has quit [Read error: Connection reset by peer]
06:06
revolve has joined #nmigen
06:06
revolve has joined #nmigen
06:23
<
_whitenotifier-4 >
[nmigen] slan opened pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuk
06:23
<
_whitenotifier-4 >
[nmigen] slan opened pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuk
06:26
<
_whitenotifier-4 >
[nmigen] codecov[bot] commented on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
06:26
<
_whitenotifier-4 >
[nmigen] codecov[bot] commented on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
06:26
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
06:26
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
06:26
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
06:26
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
06:26
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
06:26
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
06:28
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
06:28
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
06:55
emeb_mac has quit [Quit: Leaving.]
06:55
emeb_mac has quit [Quit: Leaving.]
07:03
chipmuenk has joined #nmigen
07:03
chipmuenk has joined #nmigen
07:10
jeanthom has joined #nmigen
07:10
jeanthom has joined #nmigen
08:06
lkcl has quit [Ping timeout: 240 seconds]
08:06
lkcl has quit [Ping timeout: 240 seconds]
08:19
lkcl has joined #nmigen
08:19
lkcl has joined #nmigen
08:26
FFY00_ has quit [Ping timeout: 244 seconds]
08:26
FFY00_ has quit [Ping timeout: 244 seconds]
08:27
FFY00_ has joined #nmigen
08:27
FFY00_ has joined #nmigen
08:55
lkcl has quit [Ping timeout: 260 seconds]
08:55
lkcl has quit [Ping timeout: 260 seconds]
09:09
lkcl has joined #nmigen
09:09
lkcl has joined #nmigen
09:57
_whitelogger_ has quit [Remote host closed the connection]
10:00
_whitelogger_ has joined #nmigen
10:00
_whitelogger_ has joined #nmigen
10:51
jeanthom has quit [Ping timeout: 245 seconds]
10:51
jeanthom has quit [Ping timeout: 245 seconds]
11:05
jeanthom has joined #nmigen
11:05
jeanthom has joined #nmigen
11:28
Bertl_zZ is now known as Bertl
11:28
Bertl_zZ is now known as Bertl
12:23
Raito_Bezarius has quit [Ping timeout: 264 seconds]
12:23
Raito_Bezarius has quit [Ping timeout: 264 seconds]
12:33
revolve has quit [Read error: Connection reset by peer]
12:33
revolve has quit [Read error: Connection reset by peer]
12:37
revolve has joined #nmigen
12:37
revolve has joined #nmigen
13:15
Raito_Bezarius has joined #nmigen
13:15
Raito_Bezarius has joined #nmigen
13:47
bsmt has quit [Quit: Ping timeout (120 seconds)]
13:47
bsmt has quit [Quit: Ping timeout (120 seconds)]
13:47
bsmt has joined #nmigen
13:47
bsmt has joined #nmigen
14:26
Bertl is now known as Bertl_oO
14:26
Bertl is now known as Bertl_oO
15:23
jeanthom has quit [Ping timeout: 260 seconds]
15:23
jeanthom has quit [Ping timeout: 260 seconds]
16:06
<
_whitenotifier-4 >
[nmigen] slan synchronize pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuk
16:06
<
_whitenotifier-4 >
[nmigen] slan synchronize pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuk
16:06
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
16:06
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
16:08
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
16:08
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
16:09
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
16:09
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
16:10
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
16:10
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
16:15
Raito_Bezarius has quit [Ping timeout: 264 seconds]
16:15
Raito_Bezarius has quit [Ping timeout: 264 seconds]
17:00
Bertl_oO is now known as Bertl
17:00
Bertl_oO is now known as Bertl
17:33
pftbest_ has joined #nmigen
17:33
pftbest_ has joined #nmigen
17:36
pftbest has quit [Ping timeout: 240 seconds]
17:36
pftbest has quit [Ping timeout: 240 seconds]
18:05
jeanthom has joined #nmigen
18:05
jeanthom has joined #nmigen
18:14
<
vup >
agg: @4o, actually if you do something like `with m.FSM() as fsm: ...` the `fsm` object is actually available outside of the `with` block
18:14
<
vup >
agg: @4o, actually if you do something like `with m.FSM() as fsm: ...` the `fsm` object is actually available outside of the `with` block
18:32
jeanthom has quit [Ping timeout: 245 seconds]
18:32
jeanthom has quit [Ping timeout: 245 seconds]
18:44
jeanthom has joined #nmigen
18:44
jeanthom has joined #nmigen
19:03
revolve has quit [Read error: Connection reset by peer]
19:03
revolve has quit [Read error: Connection reset by peer]
19:05
revolve has joined #nmigen
19:05
revolve has joined #nmigen
19:06
jeanthom has quit [Ping timeout: 276 seconds]
19:06
jeanthom has quit [Ping timeout: 276 seconds]
19:12
emeb has joined #nmigen
19:12
emeb has joined #nmigen
20:18
jeanthom has joined #nmigen
20:18
jeanthom has joined #nmigen
20:43
emeb_mac has joined #nmigen
20:43
emeb_mac has joined #nmigen
21:08
<
_whitenotifier-4 >
[nmigen] slan synchronize pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuk
21:08
<
_whitenotifier-4 >
[nmigen] slan synchronize pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuk
21:08
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
21:08
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
21:11
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
21:11
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
21:11
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
21:11
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
21:11
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
21:11
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
21:12
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
21:12
<
_whitenotifier-4 >
[nmigen] codecov[bot] edited a comment on pull request #602: Add synth_design_options override for vivado -
https://git.io/Jmbuw
21:50
chipmuenk has quit [Quit: chipmuenk]
21:50
chipmuenk has quit [Quit: chipmuenk]
21:56
Raito_Bezarius has joined #nmigen
21:56
Raito_Bezarius has joined #nmigen
22:19
jeanthom has quit [Ping timeout: 246 seconds]
22:19
jeanthom has quit [Ping timeout: 246 seconds]