Skip to content

Commit

Permalink
Goes back to calling CGRATemplateRTL_test.py to generate verilog.
Browse files Browse the repository at this point in the history
  • Loading branch information
yyan7223 committed Oct 19, 2024
1 parent d96cf7e commit cd7c819
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions mode_dark_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
CANVAS_BG_COLOR = "#E5E5E5"
CANVAS_LINE_COLOR = "black"

#from VectorCGRA.cgra.translate.CGRATemplateRTL_test import *
from VectorCGRA.cgra.translate.CGRARTL_test import *
from VectorCGRA.cgra.translate.CGRATemplateRTL_test import *

# importing module
import logging
Expand Down Expand Up @@ -965,8 +964,7 @@ def clickGenerateVerilog():
os.chdir("verilog")

# pymtl function that is used to generate synthesizable verilog
#test_cgra_universal(paramCGRA)
test_cgra_universal()
test_cgra_universal(paramCGRA)

widgets["verilogText"].delete("1.0", tkinter.END)
found = False
Expand All @@ -984,8 +982,7 @@ def clickGenerateVerilog():
paramCGRA.verilogDone = False
widgets["verilogText"].insert(tkinter.END, "Error exists during Verilog generation")

#os.system("mv CGRATemplateRTL__*.v design.v")
os.system("mv CGRARTL__*.v design.v")
os.system("mv CGRATemplateRTL__*.v design.v")
# os.system("rename s/\.v/\.log/g *")

os.chdir("..")
Expand Down Expand Up @@ -2230,7 +2227,7 @@ def runOpenRoad(mk_sdc_file_path, cmd_path, odb_path, layout_path):

def clickRTL2Layout():
global constraintFilePath, configFilePath
standard_module_name = "CGRARTL"
standard_module_name = "CGRATemplateRTL"
cgraflow_basepath = os.path.dirname(os.path.abspath(__file__))
test_platform_name = processOptions.get()
print("Test platform is %s" % (test_platform_name))
Expand Down

0 comments on commit cd7c819

Please sign in to comment.