whitequark changed the topic of #yosys to: Yosys Open SYnthesis Suite: https://github.com/YosysHQ/yosys/ | Channel logs: https://libera.irclog.whitequark.org/yosys/ | Bridged to #yosys:matrix.org
tpb has quit [Remote host closed the connection]
tpb has joined #yosys
darkpheonix has joined #yosys
FabM has joined #yosys
FabM has joined #yosys
darkpheonix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
krispaul has joined #yosys
kristianpaul has quit [Ping timeout: 245 seconds]
bjorkintosh has quit [Ping timeout: 276 seconds]
glguy has quit [Read error: Connection reset by peer]
glguy has joined #yosys
bjorkintosh has joined #yosys
bjorkintosh has quit [Changing host]
bjorkintosh has joined #yosys
sorear has quit [Read error: Connection reset by peer]
dnm has quit [Read error: Connection reset by peer]
sorear has joined #yosys
dnm has joined #yosys
edm has quit [Ping timeout: 265 seconds]
edm has joined #yosys
FabM has quit [Ping timeout: 252 seconds]
krispaul has quit [Quit: WeeChat 3.5]
kristianpaul has joined #yosys
<Adrien[m]> Hi, I have an issue with how Yosys manipulates Variable Parts Selects, in verilog.
<Adrien[m]> This is recognized as a mux and is synthesized as a mux : input [3:0] sel; input [15:0] idata; assign odata = idata[sel +: 1];
<Adrien[m]> This is 1b selection so the direction should not matter. Let's change +: to -: and give it to Yosys : input [3:0] sel; input [15:0] idata; assign odata = idata[sel -: 1];
<Adrien[m]> With -: the generated netlist for Xilinx xc7 is 5 LUT6, instead of the expexted 4 LUT6 + some in-slice muxf.
<whitequark[cis]> for any verilog issues, try using https://github.com/povik/yosys-slang instead of the built-in frontend and see if that still reproduces
<Adrien[m]> Is there a subtlety in what these syntaxes mean, or could this be considered an issue in yosys somehow ?
<Adrien[m]> Catherine: Yes I'll try that.
<Adrien[m]> Tried : it does work with slang plugin ! 👍️
<Adrien[m]> If there are people relying on Yosys parser, this deserves a fix. Should I open a bug report ?
hwpplayer1 has joined #yosys
Guest77 has joined #yosys
<Guest77> can yosys do simplifying combinational logic circuits?
hwpplayer1 has quit [Remote host closed the connection]
<Guest77> dead chat. ok bye
Guest77 has quit [Quit: Client closed]
nonchip has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nonchip has joined #yosys
tlwoerner_ has joined #yosys
tlwoerner has quit [Remote host closed the connection]