Move CARRY4 to use Verilog to XML scripts Signed-off-by: David Shah <davey1576@gmail.com>
diff --git a/v2x/mux_gen.py b/v2x/mux_gen.py index 9b2981a..9a4d2e9 100755 --- a/v2x/mux_gen.py +++ b/v2x/mux_gen.py
@@ -267,12 +267,14 @@ module_args.append(name) mux_prefix = {'logic': '', 'routing': 'r'}[args.type] + mux_class = {'logic': 'mux', 'routing': 'routing'}[args.type] f.write("/* ") f.write("\n * ".join(generated_with.splitlines())) f.write("\n */\n\n") f.write('`include "%s/%s/%smux%i/sim.v"\n' % (mux_dir, 'logic', '', args.width)) f.write("\n") + f.write('(* blackbox *) (* CLASS="%s" *)\n' % mux_class) f.write("module %s(%s);\n" % (args.name_mux, ", ".join(module_args))) previous_type = None for type, name, width, index in port_names: