<
FL4SHK>
maybe I'm not running the right commands
<
FL4SHK>
"failed to detect width for identifier"
litghost has quit [Ping timeout: 268 seconds]
<
FL4SHK>
it appears that I've found a bug
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
litghost has joined #yosys
PyroPeter has quit [Ping timeout: 252 seconds]
PyroPeter has joined #yosys
futarisIRCcloud has joined #yosys
gsi__ has joined #yosys
gsi_ has quit [Ping timeout: 240 seconds]
rohitksingh_work has joined #yosys
s_frit has quit [Ping timeout: 250 seconds]
gsi__ is now known as gsi_
emeb_mac has quit [Ping timeout: 264 seconds]
Thorn has joined #yosys
ktemkin has quit [Ping timeout: 252 seconds]
ovf has quit [Ping timeout: 252 seconds]
ktemkin has joined #yosys
mithro has quit [Ping timeout: 252 seconds]
ric96 has quit [Ping timeout: 252 seconds]
ric96 has joined #yosys
mithro has joined #yosys
ovf has joined #yosys
maikmerten has joined #yosys
GuzTech has joined #yosys
proteusguy has quit [Remote host closed the connection]
proteusguy has joined #yosys
maikmerten has quit [Remote host closed the connection]
show1 has quit [Quit: WeeChat 2.4]
show has joined #yosys
<
tpb>
Title: [VeriLog] module top(BTN1, BTN2, BTN3, LED1, LED2); input BTN1, BTN2, BTN3; output L - Pastebin.com (at pastebin.com)
<
tnt>
At line 6, is that valid in verilog ?!?
<
corecode>
the initializer
<
tnt>
LED are the outputs
<
corecode>
then i don't understand what this is supposed to do
<
tnt>
well my guess is the author just assumed it woudl 'connect' Sum[0] with LED1 'bidirectionally'.
<
tnt>
like a physical wire ...
<
tnt>
but afaik ... it's wrong.
<
corecode>
yes, that seems wrong
<
tnt>
and yet yosys seems to accept it.
<
corecode>
it looks like an initializer
<
daveshah>
Yosys and LSE both seem to treat the = as bidirectional, Synplify and Verilator seem to treat it as unidirectional
<
corecode>
oh interesting
<
corecode>
i mean it doesn't make much sense to use an output as RHS?
<
tnt>
I usually try to avoid it ...
<
tnt>
I know in VHDL it's just forbidden.
<
corecode>
the standard calls this net_decl_assignment
<
corecode>
and it's in the 6.1 continuous assignment section
<
corecode>
so that means there are two continuous assignments
<
tnt>
yeah and the way I read it, it's clearly unidirectional. Value is
_driven_ on the LHS whenever the RHS _changes_.
<
corecode>
can an output port be readable?
<
tnt>
I'm trying to find that in the spec right now.
<
corecode>
there are examples that imply that you can use output ports as RHS
<
corecode>
i think it matters only for the module using the submodule
<
tnt>
yup, afaict they are just normal wires so you can 'read' their values.
<
corecode>
so in this case, the problem is that there are two conflicting continuous assignments
<
corecode>
and something bidirectional going on as well?
dys has joined #yosys
rohitksingh_work has quit [Read error: Connection reset by peer]
dys has quit [Ping timeout: 255 seconds]
rohitksingh has joined #yosys
citypw has joined #yosys
rohitksingh has quit [Ping timeout: 264 seconds]
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
citypw has quit [Remote host closed the connection]
proteusguy has quit [Ping timeout: 252 seconds]
proteusguy has joined #yosys
emeb has joined #yosys
proteusguy has quit [Ping timeout: 252 seconds]
proteusguy has joined #yosys
proteusguy has quit [Ping timeout: 255 seconds]
dys has joined #yosys
proteusguy has joined #yosys
<
FL4SHK>
Did anyone happen to see what I mentioned last?
<
FL4SHK>
I think I found a bug in yosys's SystemVerilog support.
maikmerten has joined #yosys
indy has quit [*.net *.split]
parport0 has quit [*.net *.split]
svenn has quit [*.net *.split]
anuejn has quit [*.net *.split]
svenn has joined #yosys
parport0 has joined #yosys
togo has joined #yosys
indy has joined #yosys
<
FL4SHK>
well, I've made a fork. I'll see if I can fix it myself.
voxadam has quit [Read error: Connection reset by peer]
voxadam has joined #yosys
rohitksingh has joined #yosys
adjtm has quit [Read error: Connection reset by peer]
adjtm_ has joined #yosys
rohitksingh has quit [Ping timeout: 240 seconds]
rohitksingh has joined #yosys
rvalles has quit [Ping timeout: 258 seconds]
rvalles has joined #yosys
ravenexp has joined #yosys
adjtm has joined #yosys
adjtm_ has quit [Ping timeout: 240 seconds]
maikmerten has quit [Remote host closed the connection]
rohitksingh has quit [Ping timeout: 252 seconds]
gnufan_home has joined #yosys
GuzTech has quit [Ping timeout: 264 seconds]
togo has quit [Quit: Leaving]
gnufan_home has quit [Quit: Leaving.]
zino has joined #yosys
tpb has quit [Remote host closed the connection]
tpb has joined #yosys