clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
tpb has quit [Remote host closed the connection]
tpb has joined #yosys
cr1901_modern has joined #yosys
oter_ has joined #yosys
BinaryLust has joined #yosys
citypw has joined #yosys
GenTooMan has quit [Remote host closed the connection]
citypw has quit [Quit: Leaving]
citypw has joined #yosys
Degi has quit [Ping timeout: 265 seconds]
Degi has joined #yosys
GenTooMan has joined #yosys
ashfaq1717 has joined #yosys
<ashfaq1717> hi all
<ashfaq1717> I'm doing synthesization of Single Cycle RISCV Processor, when I synthesize top module of processor, I have a problem when run 'hierarchy -check' command, I get error this ALU, (ALU instantiation) is not part of the design. This error comes for all instantiations....Can somebody help me, why is it?
ashfaq1717 has quit [Ping timeout: 245 seconds]
az0re has joined #yosys
_whitelogger has joined #yosys
proteusguy has quit [Ping timeout: 272 seconds]
dys has joined #yosys
proteusguy has joined #yosys
dys has quit [Ping timeout: 256 seconds]
vidbina has joined #yosys
emeb_mac has quit [Quit: Leaving.]
citypw has quit [Ping timeout: 240 seconds]
craigo has joined #yosys
rjeli has quit [Ping timeout: 252 seconds]
rjeli has joined #yosys
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
X-Scale` has joined #yosys
X-Scale has quit [Ping timeout: 256 seconds]
X-Scale` is now known as X-Scale
Asu has joined #yosys
X-Scale has quit [Ping timeout: 258 seconds]
X-Scale` has joined #yosys
gmc has joined #yosys
X-Scale` is now known as X-Scale
dys has joined #yosys
vidbina has quit [Ping timeout: 264 seconds]
BinaryLust has quit [Ping timeout: 246 seconds]
futarisIRCcloud has joined #yosys
citypw has joined #yosys
vidbina has joined #yosys
mirage335 has quit [Ping timeout: 256 seconds]
vidbina has quit [Ping timeout: 260 seconds]
craigo has quit [Ping timeout: 260 seconds]
kraiskil has joined #yosys
vidbina has joined #yosys
<ZipCPU> ashfaq1717: You need to read the verilog files for the rest of the design into Yosys. Typically, this is done via the "read_verilog" command, although I kind of like using "read -sv filename.v" myself.
<ZirconiumX> Or pass them on the command line
Asuu has joined #yosys
Asu has quit [Ping timeout: 260 seconds]
mirage335 has joined #yosys
Asuu has joined #yosys
jfcaron has joined #yosys
strongsaxophone has joined #yosys
vidbina has joined #yosys
tautologico has joined #yosys
emeb has joined #yosys
vidbina has quit [Ping timeout: 272 seconds]
strongsaxophone has quit [Ping timeout: 258 seconds]
kraiskil has joined #yosys
strongsaxophone has joined #yosys
BinaryLust has joined #yosys
jfcaron has quit [Remote host closed the connection]
emeb_mac has joined #yosys
emeb_mac has quit [Client Quit]
jfcaron has joined #yosys
jfcaron has quit [Read error: Connection reset by peer]
jfcaron has joined #yosys
cr1901_modern has joined #yosys
vidbina has joined #yosys
bzztploink has joined #yosys
vidbina has quit [Ping timeout: 260 seconds]
SpaceCoaster has joined #yosys
craigo has joined #yosys
Asuu has quit [Ping timeout: 260 seconds]
rlee287 has joined #yosys
GenTooMan has joined #yosys
kraiskil has quit [Ping timeout: 260 seconds]
N2TOH has joined #yosys
rlee287 has quit [Quit: Konversation terminated!]
<Forty-Bot> does verilator support +: in declarations?
<Forty-Bot> e.g. something like "wire [0 +: 32] foo;"
<Forty-Bot> I can use that syntax fine in yosys, and it seems to be allowed by the standard
<Forty-Bot> but verilator gives a syntax error
<Forty-Bot> am I missing some kind of compiler option?
<whitequark> Forty-Bot: doesn't seem to be allowed per 1364
<Forty-Bot> ok, so I'm looking at 1364-2005 on page 504-505 and +: is defined as a valid constant_range_expression
<whitequark> yes but a type declaration uses a `range`, not a `constant_range_expression`
<Forty-Bot> then on page 506, a net_lvalue is defined as an identifier plus a constant_range_expression
<Forty-Bot> is that just for assign?
<whitequark> yes
<whitequark> that's what an lvalue is: a value on lhs of assignment
<Forty-Bot> ah, ok thanks
<Forty-Bot> it's kinda strange that it's not allowed for declarations
BinaryLust has quit [Ping timeout: 256 seconds]
<whitequark> what would that mean for declarations?
<Forty-Bot> the same thing it means for l-values?
<whitequark> oh, i see what you mean
<whitequark> or rather why you want it
<whitequark> that seems inconsistent syntactically
<Forty-Bot> yes
<whitequark> no, i mean, being able to use :+ seems
<whitequark> from my point of view, but i also see yours
<Forty-Bot> the real issue, is if you want to have "one true range-specifier" it has to be :
<Forty-Bot> and : can be rather unweildy for certain expressions
jfcaron has quit [Ping timeout: 265 seconds]
<whitequark> ahhh
<whitequark> ok, that makes sense
<Forty-Bot> another example, say I have two variables which are WIDTH wide, and I want to add them
<Forty-Bot> the result will be WIDTH + 1 wide, but specifying it like "wire [WIDTH:0] sum"... almost looks like a typo
<Forty-Bot> whereas "wire [0 +: WIDTH + 1] sum" is obviously supposed to be WIDTH + 1 wide
adjtm has joined #yosys
emeb has quit [Quit: Leaving.]