- Added support for flip-flops with synchronous reset to synth_xilinx
- Added support for flip-flops with reset and enable to synth_xilinx
- Added "check -mapped"
- - Added checking of SystemVerilog always block types (always_comb,
+ - Added checking of SystemVerilog always block types (always_comb,
always_latch and always_ff)
- Added "xilinx_dffopt" pass
- Added "scratchpad" pass
- Added "abc9 -dff"
- Added "synth_xilinx -dff"
+ - Improved support of $readmem[hb] file inclusion which is now relative to the Verilog file
Yosys 0.8 .. Yosys 0.9
----------------------
int meminit_size=0;
std::ifstream f;
- f.open(mem_filename.c_str());
+ std::string path = filename.substr(0, filename.find_last_of("\\/")+1);
+ f.open(path + mem_filename.c_str());
yosys_input_files.insert(mem_filename);
if (f.fail())