Test neq
This commit is contained in:
5
create_verilog_from_asm.py
Normal file
5
create_verilog_from_asm.py
Normal file
@@ -0,0 +1,5 @@
|
||||
file_name = input("File name: ")
|
||||
with open(file_name) as fl:
|
||||
file_content = fl.readlines()
|
||||
for idx, inst in enumerate(file_content):
|
||||
print("20'd%d: instruction <= 32'h%s;" % (idx, inst.strip()))
|
||||
Reference in New Issue
Block a user