clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
emeb has quit [Quit: Leaving.]
emeb_mac has joined #yosys
futarisIRCcloud has joined #yosys
stuckpixel has joined #yosys
gsi__ has joined #yosys
gsi_ has quit [Ping timeout: 268 seconds]
PyroPeter has quit [Ping timeout: 248 seconds]
PyroPeter has joined #yosys
vonnieda has joined #yosys
rohitksingh_work has joined #yosys
proteusguy has quit [Ping timeout: 246 seconds]
gsi__ is now known as gsi_
proteusguy has joined #yosys
jakobwenzel has joined #yosys
m4ssi has joined #yosys
emeb_mac has quit [Ping timeout: 248 seconds]
rohitksingh_work has quit [Read error: Connection reset by peer]
rohitksingh_work has joined #yosys
citypw has joined #yosys
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
promach has joined #yosys
<promach> For https://www.diffchecker.com/xqCravG1#right-2 , why do I have the following error ?
<promach> smt2: ERROR: Unsupported cell type $dlatch for cell $paramod\arbiter\WIDTH=2.$auto$proc_dlatch.cc:409:proc_dlatch$11745.
<daveshah> promach: you have an inferred latch
<daveshah> If neither if statement is reached, base is not set
<daveshah> You should either go back to a clocked always or add a default value for base
<promach> but I do not want to use 'initial' statement
<promach> daveshah
<daveshah> If you *really* need the latch then you'll have to put multiclock on
<promach> wait, why 'multiclock on' ?
<daveshah> Default value refers to a default value in the always block, not an initial value
<daveshah> Because latches are asynchronous, anything async needs multiclock on
<promach> but how to set 'default value in the always block' ?
<daveshah> Add an else clause; or set base at the top before the if statement
<promach> how to 'set base at the top before the if statement' ?
<daveshah> Just add base = 0; or whatever before the line if(reset || first_clock_passed) base = 1;
<promach> ok
<promach> thanks daveshah
<promach> add base = 0; or whatever before the line if(reset || first_clock_passed) base = 1; will make the logic working incorrect though
<daveshah> If you want base to keep its last value, then you'll want to use a clocked always block
<daveshah> In an always @* you should always be setting base to something regardless of the inputs
<daveshah> Otherwise you get an inferred latch, which is likely to cause timing issues and other annoyances in hardware
<promach> ok, I switched to always @* due to issues outside of this module
<tnt> and do you have any idea what this does ?
<promach> combinational circuit
<promach> a lot of timing issues
<tnt> Now try to draw that comb circuit you're asking for on paper with gates without loops ...
<promach> what loops ?
wifasoi has joined #yosys
<corecode> hi
citypw has quit [Ping timeout: 248 seconds]
wifasoi has quit [Ping timeout: 258 seconds]
AlexDaniel has joined #yosys
AlexDaniel has quit [Remote host closed the connection]
wifasoi has joined #yosys
GoldRin has joined #yosys
proteusguy has quit [Ping timeout: 268 seconds]
rohitksingh_work has quit [Read error: Connection reset by peer]
cr1901_modern has quit [Ping timeout: 272 seconds]
wifasoi has quit [Ping timeout: 252 seconds]
proteusguy has joined #yosys
vonnieda has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vonnieda has joined #yosys
rohitksingh has joined #yosys
emeb has joined #yosys
proteusguy has quit [Remote host closed the connection]
Cerpin has joined #yosys
alexhw has joined #yosys
proteusguy has joined #yosys
wifasoi has joined #yosys
Cerpin has quit [Ping timeout: 248 seconds]
Cerpin has joined #yosys
cr1901_modern has joined #yosys
ZipCPU has quit [Quit: ZNC 1.6.4 - http://znc.in]
ZipCPU has joined #yosys
tlwoerner has quit [Ping timeout: 257 seconds]
tlwoerner has joined #yosys
m4ssi has quit [Remote host closed the connection]
proteusguy has quit [Remote host closed the connection]
proteusguy has joined #yosys
proteusguy has quit [Remote host closed the connection]
proteusguy has joined #yosys
wifasoi has quit [Ping timeout: 248 seconds]
fsasm__ has joined #yosys
fsasm__ is now known as fsasm
AlexDaniel has joined #yosys
stuckpixel has quit [Ping timeout: 248 seconds]
stuckpixel has joined #yosys
rohitksingh has quit [Remote host closed the connection]
fsasm has quit [Ping timeout: 272 seconds]
vonnieda has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tpb has quit [Remote host closed the connection]
tpb has joined #yosys