clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
X-Scale has quit [Ping timeout: 255 seconds]
X-Scale` has joined #yosys
X-Scale` is now known as X-Scale
rohitksingh has quit [Ping timeout: 260 seconds]
vidbina has quit [Ping timeout: 260 seconds]
vidbina has joined #yosys
vidbina has quit [Ping timeout: 258 seconds]
Forty-Bot has joined #yosys
strongsaxophone has quit [Remote host closed the connection]
vidbina has joined #yosys
vidbina has quit [Ping timeout: 265 seconds]
_whitelogger has joined #yosys
vidbina has joined #yosys
rohitksingh has joined #yosys
vidbina has quit [Read error: Connection reset by peer]
vidbina has joined #yosys
rohitksingh has quit [Ping timeout: 256 seconds]
proteusguy has quit [Ping timeout: 265 seconds]
vidbina has quit [Ping timeout: 256 seconds]
proteusguy has joined #yosys
emeb_mac has joined #yosys
rohitksingh has joined #yosys
dys has joined #yosys
rohitksingh has quit [Ping timeout: 240 seconds]
rohitksingh has joined #yosys
emeb_mac has quit [Quit: Leaving.]
rohitksingh has quit [Ping timeout: 240 seconds]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 240 seconds]
m4ssi has joined #yosys
dys has quit [Ping timeout: 240 seconds]
dormito has joined #yosys
strubi has joined #yosys
develonepi3 has joined #yosys
mirage335 has quit [Ping timeout: 245 seconds]
qu1j0t3 has quit [Ping timeout: 255 seconds]
qu1j0t3 has joined #yosys
develonepi3 has quit [Remote host closed the connection]
unkraut has quit [Remote host closed the connection]
emeb has joined #yosys
citypw has joined #yosys
N2TOH_ has quit [Ping timeout: 240 seconds]
N2TOH has joined #yosys
dys has joined #yosys
<tnt> Is there any way to do a bit selection / slice select on an expression in verilog ?
<tnt> (like a function returns [15:0] but I only want [12:4] or something like that)
<thardin> assign it to a wire then slice the wire?
<tnt> That's what I'm trying to avoid ... this intermediate step ...
<thardin> and this is a function not a module?
<thardin> did you try just the_function(x)[12:4] ?
<tnt> Yeah I obviously tried that and didn't work, 'unepexcted token ['
<thardin> hmm I wonder what happens if it has multiple outputs
<thardin> I've found verilog is very not-elegant so far
<thardin> seems a bit of metaprogramming is possible, but I've not seen too much of it which is concerning
<ZirconiumX> That's why I don't recommend Verilog to people ^.^
<tnt> I much prefer VHDL but OSS support for that is not great :/
<ZirconiumX> There's ghdlsynth
<tnt> And the SystemVerilog I tried to use turned out to not be supported AFAICT.
<thardin> back to good ol' generators
<tnt> ZirconiumX: Yeah but "This is experimental and work in progress" ... and I fear than if I start using it, all the nice advanced vhdl feature I want will end up not supported and I'll be in the same boat.
<ZirconiumX> It's based on GHDL
<ZirconiumX> So the language support is reasonably complete AIUI
<ZirconiumX> It's just a giant blob of Ada code that has to interface with Yosys
X-Scale has quit [Ping timeout: 256 seconds]
X-Scale` has joined #yosys
X-Scale` is now known as X-Scale
dh73 has joined #yosys
<strubi> tnt, the GHDL support is pretty mature
<strubi> It's already synth'ing fairly large SoC projects
<tnt> strubi: ok, good to know. I'll add it to my build list and give it a shot.
<strubi> If you're totally undecided, you could also try MyHDL and choose your transfer language
<tnt> One question though: how is simulation ? Sim models are written in verilog, so can it do mixed language ?
<strubi> you can do the post map simulation in icarus verilog, before that stage you might want to take your fixed pick though
<strubi> You can hack some mixed simulation setups using co-simulation, but that's a painful thing, possibly
dys has quit [Ping timeout: 256 seconds]
strubi has quit [Quit: Leaving]
rohitksingh has joined #yosys
<emily> nmigen is also an HDL worth considering
<emily> compiles down to yosys IL
<emily> it certainly has about as much metaprogramming capabilities as you might hope for (due to being a python eDSL)
<ZirconiumX> Python itself is the metaprogramming language here :P
sfs1926 has quit [Quit: Leaving]
m4ssi has quit [Remote host closed the connection]
rohitksingh has quit [Ping timeout: 240 seconds]
rohitksingh has joined #yosys
rohitksingh has quit [Ping timeout: 258 seconds]
strubi has joined #yosys
dh73 has quit [Ping timeout: 255 seconds]
dys has joined #yosys
sfs1926 has joined #yosys
sfs1926 has quit [Remote host closed the connection]
sfs1926 has joined #yosys
klotz has joined #yosys
dh73 has joined #yosys
Ultrasauce has quit [Quit: Ultrasauce]
Ultrasauce has joined #yosys
emeb_mac has joined #yosys
<lambda> huh, does verilog/yosys not have an abs operation? I was just gonna patch that intp ghdlsynth real quick, turns out it doesn't exist (at least not in an obvious manner)
<lambda> into* even
<ZirconiumX> Yeah you have to implement in logic
strubi has quit [Ping timeout: 265 seconds]
<lambda> guess a sub and mux will dp
<lambda> god damn my keys are close together today
<shapr> where's my crayola keyboard, hm
dormito has quit [Ping timeout: 256 seconds]
dormito has joined #yosys
dh73 has quit [Ping timeout: 260 seconds]
dh73 has joined #yosys
klotz has quit [Quit: klotz]
mirage335 has joined #yosys
rohitksingh has joined #yosys
emeb has left #yosys [#yosys]
dh73 has quit [Ping timeout: 256 seconds]