clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
seldridge0 has quit [Ping timeout: 252 seconds]
emeb has quit [Quit: Leaving.]
leviathan has joined #yosys
voxadam has quit [Read error: Connection reset by peer]
voxadam has joined #yosys
ar3itrary has quit [Ping timeout: 252 seconds]
SpaceCoaster has joined #yosys
dys has quit [Ping timeout: 268 seconds]
leviathan has quit [Remote host closed the connection]
leviathan has joined #yosys
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 240 seconds]
tannewt has joined #yosys
leviathan has quit [Remote host closed the connection]
leviathan has joined #yosys
rohitksingh has joined #yosys
dys has joined #yosys
rohitksingh has quit [Ping timeout: 252 seconds]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 240 seconds]
rohitksingh has joined #yosys
dys has quit [Ping timeout: 245 seconds]
m_t has joined #yosys
dys has joined #yosys
rohitksingh has quit [Ping timeout: 252 seconds]
maikmerten has joined #yosys
<maikmerten> awesome, seems nextpnr now also takes posedge/negedge timing into account
<maikmerten> Info: Max frequency for clock 'uart_inst.CLK_I_$glb_clk': 26.25 MHz
<daveshah> yes, it does now
<maikmerten> so my fmax is *not* 50+ Mhz
<maikmerten> and with 25.125 MHz, I'm awfully close
<daveshah> currently it doesn't take into account duty cycle either
<daveshah> if your clock's duty cycle isn't 50% that eats into your margin further
<daveshah> that isn't a problem for same edges paths
<maikmerten> it *should* be 50%
<maikmerten> but who knows ;-)
<maikmerten> but at least that would perhaps explain the "some seeds work, some not" problem I encountered a week ago
<maikmerten> (of all the components, I wouldn't have guess that the UART may be the limiting thing)
<maikmerten> *guessed
<daveshah> is that actually on the critical path?
<daveshah> the name of the clock doesn't tell you what's limiting Fmax
<daveshah> it's just to do with how Yosys resolves names
<maikmerten> seems it's not actually the UART itself - if I comment that out another peripheral just takes its place
<maikmerten> I guess its just a bad idea to have the CPU control logic on the negative edge
<daveshah> nextpnr should print a critical path report telling you what is limiting Fmax
<daveshah> however, abc tends to mangle net names badly
<tpb> Title: debian Pastezone (at paste.debian.net)
<maikmerten> Info: Max delay <async> -> posedge uart_inst.CLK_I_$glb_clk: 6.30 ns
<daveshah> that one isn't so important - that's the delay to/from IO to a register
<daveshah> the important one is the long posedge -> negedge report
<daveshah> *negedge -> posedge
<daveshah> looks like it starts around cpu_inst.instr[3] and ends around cpu_inst.alu_inst.sub[32]
<daveshah> with a big carry chain in between
<maikmerten> ooh, right
<maikmerten> 18.4 ns accumulated delay, if I read things right
<daveshah> yes
<maikmerten> I must confess I find that long one hard to read, because that all seems to be autogenerated fluff ( ;-) ) that I can't directly map to design names
<maikmerten> ah, no, I see cpu_inst.instr[3]
<maikmerten> that's the CPU's instruction register
<maikmerten> and then later cpu_inst.alu_inst.sub[32]
<maikmerten> which is the subtraction result in the ALU
<maikmerten> okay, that explain a lot
<maikmerten> the instruction is fetched from the data bus and stored in the instruction register. From there, my asynchronous decoder will assemble the immediate value. That goes through some muxer to the second ALU input, and goes into asynchronous subtraction logic
<maikmerten> so the asynchronous logic path is long. Really long.
<maikmerten> actually s/asynchronous/combinatorial
leviathan has quit [Remote host closed the connection]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 244 seconds]
develonepi3 has quit [Remote host closed the connection]
develonepi3 has joined #yosys
rohitksingh has joined #yosys
rohitksingh has quit [Read error: Connection reset by peer]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 250 seconds]
AlexDaniel has joined #yosys
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 268 seconds]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 244 seconds]
Forty-Bot has joined #yosys
maikmerten has quit [Remote host closed the connection]
m4ssi has joined #yosys
rohitksingh has joined #yosys
m4ssi has quit [Remote host closed the connection]
Forty-Bot has quit []
Forty-Bot has joined #yosys
dys has quit [Ping timeout: 246 seconds]
rohitksingh has quit [Ping timeout: 272 seconds]
celadon has quit [Ping timeout: 252 seconds]
m_t has quit [Read error: Connection reset by peer]
tpb has quit [Remote host closed the connection]
tpb has joined #yosys