[Tool] Bug fix
This commit is contained in:
parent
fdf94cba83
commit
e9d29e27e5
|
@ -157,6 +157,7 @@ void print_verilog_random_testbench_fpga_instance(std::fstream& fp,
|
|||
std::vector<std::string>(),
|
||||
std::string(FPGA_PORT_POSTFIX),
|
||||
atom_ctx, netlist_annotation,
|
||||
PinConstraints(),
|
||||
explicit_port_mapping);
|
||||
|
||||
print_verilog_comment(fp, std::string("----- End FPGA Fabric Instanication -------"));
|
||||
|
|
|
@ -106,7 +106,7 @@ void print_verilog_testbench_benchmark_instance(std::fstream& fp,
|
|||
* while the reset signal of the FPGA fabric is active high (inside FPGA, the reset signal will be inverted)
|
||||
* However, to ensure correct stimuli to the benchmark, we have to invert the signal
|
||||
*/
|
||||
if (LOGIC_HIGH == pin_constraints.net_default_value(block_name)) {
|
||||
if (PinConstraints::LOGIC_HIGH == pin_constraints.net_default_value(block_name)) {
|
||||
fp << "~";
|
||||
}
|
||||
fp << block_name;
|
||||
|
|
Loading…
Reference in New Issue