From d55ada3f6abeaf8203bc4317630ffd5d2822ccfa Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 18 Mar 2021 11:21:05 +0000 Subject: [PATCH] add option to create microwatt-formatted VHDL --- openpower/sv_analysis.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openpower/sv_analysis.py b/openpower/sv_analysis.py index 5e47025b9..aa59afb3d 100644 --- a/openpower/sv_analysis.py +++ b/openpower/sv_analysis.py @@ -215,6 +215,7 @@ def process_csvs(): continue if insn_name.startswith('bc') or 'rfid' in insn_name: continue + insns[insn_name] = row # accumulate csv data by instruction insn_to_csv[insn_name] = csvname_ # CSV file name by instruction dkey = create_key(row) @@ -571,8 +572,10 @@ def process_csvs(): #csvcols = ['insn', 'Ptype', 'Etype', '0', '1', '2', '3'] write_csv("%s.csv" % value, csv, csvcols) + # okaaay, now we re-read them back in for producing microwatt SV + # get SVP64 augmented CSV files - svt = SVP64RM() + svt = SVP64RM(microwatt_format=True) # Expand that (all .csv files) pth = find_wiki_file("*.csv") -- 2.30.2