mirror of https://github.com/efabless/caravel.git
fix bug at generating new linker script for memory tests
This commit is contained in:
parent
5d6af67724
commit
16f55976a9
|
@ -207,12 +207,12 @@ class RunTest:
|
||||||
if ram == "dff2":
|
if ram == "dff2":
|
||||||
change_dff(str="> dff ",new_str="> dff2 ",file_path=new_LINKER_SCRIPT)
|
change_dff(str="> dff ",new_str="> dff2 ",file_path=new_LINKER_SCRIPT)
|
||||||
change_dff(str="> dff\n",new_str="> dff2\n",file_path=new_LINKER_SCRIPT)
|
change_dff(str="> dff\n",new_str="> dff2\n",file_path=new_LINKER_SCRIPT)
|
||||||
change_dff(str="ORIGIN(dff)",new_str="ORIGIN(dff2)",file_path=LINKER_SCRIPT)
|
change_dff(str="ORIGIN(dff)",new_str="ORIGIN(dff2)",file_path=new_LINKER_SCRIPT)
|
||||||
change_dff(str="LENGTH(dff)",new_str="LENGTH(dff2)",file_path=LINKER_SCRIPT)
|
change_dff(str="LENGTH(dff)",new_str="LENGTH(dff2)",file_path=new_LINKER_SCRIPT)
|
||||||
elif ram == "dff":
|
elif ram == "dff":
|
||||||
change_dff(str="> dff2 ",new_str="> dff ",file_path=new_LINKER_SCRIPT)
|
change_dff(str="> dff2 ",new_str="> dff ",file_path=new_LINKER_SCRIPT)
|
||||||
change_dff(str="ORIGIN(dff2)",new_str="ORIGIN(dff)",file_path=LINKER_SCRIPT)
|
change_dff(str="ORIGIN(dff2)",new_str="ORIGIN(dff)",file_path=new_LINKER_SCRIPT)
|
||||||
change_dff(str="LENGTH(dff2)",new_str="LENGTH(dff)",file_path=LINKER_SCRIPT)
|
change_dff(str="LENGTH(dff2)",new_str="LENGTH(dff)",file_path=new_LINKER_SCRIPT)
|
||||||
else:
|
else:
|
||||||
print(f"ERROR: wrong trype of ram {ram} need to be used for now the oldy rams that can be used for flashing and data are dff and dff2")
|
print(f"ERROR: wrong trype of ram {ram} need to be used for now the oldy rams that can be used for flashing and data are dff and dff2")
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
Loading…
Reference in New Issue