From cd0f2ff3394e2ed56a1d9a26fac68da40f88dff3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 18 Apr 2021 13:34:22 +0000 Subject: [PATCH] sort out adding SPBlock_512 SRAM verilog to ls180 --- experiments9/build_full_4ksram.sh | 5 +++-- .../{tsmc_c018 => non_generated}/SPBlock_512W64B8W.v | 0 .../SPBlock_512W64B8W.vbe | 0 .../non_generated/full_core_4_4ksram_ls180.v | 3 +++ experiments9/tsmc_c018/build_full_4ksram.sh | 12 +++--------- 5 files changed, 9 insertions(+), 11 deletions(-) rename experiments9/{tsmc_c018 => non_generated}/SPBlock_512W64B8W.v (100%) rename experiments9/{tsmc_c018 => non_generated}/SPBlock_512W64B8W.vbe (100%) create mode 100644 experiments9/non_generated/full_core_4_4ksram_ls180.v diff --git a/experiments9/build_full_4ksram.sh b/experiments9/build_full_4ksram.sh index b82447d..8296644 100755 --- a/experiments9/build_full_4ksram.sh +++ b/experiments9/build_full_4ksram.sh @@ -21,9 +21,10 @@ rm *.vst *.ap # copies over a "full" core #cp non_generated/full_core_4_4ksram_ls180.il ls180.il -cp non_generated/ls180.v ls180.v +cp non_generated/full_core_4_4ksram_ls180.v ls180.v cp non_generated/full_core_4_4ksram_litex_ls180.v litex_ls180.v cp non_generated/full_core_4_4ksram_libresoc.v libresoc.v +cp non_generated/SPBlock*.v* . touch mem.init touch mem_1.init touch mem_2.init @@ -32,7 +33,7 @@ touch mem_4.init touch mem_5.init -# make the vst from ilang +# make the vst from verilog make vst # starts the build. diff --git a/experiments9/tsmc_c018/SPBlock_512W64B8W.v b/experiments9/non_generated/SPBlock_512W64B8W.v similarity index 100% rename from experiments9/tsmc_c018/SPBlock_512W64B8W.v rename to experiments9/non_generated/SPBlock_512W64B8W.v diff --git a/experiments9/tsmc_c018/SPBlock_512W64B8W.vbe b/experiments9/non_generated/SPBlock_512W64B8W.vbe similarity index 100% rename from experiments9/tsmc_c018/SPBlock_512W64B8W.vbe rename to experiments9/non_generated/SPBlock_512W64B8W.vbe diff --git a/experiments9/non_generated/full_core_4_4ksram_ls180.v b/experiments9/non_generated/full_core_4_4ksram_ls180.v new file mode 100644 index 0000000..6b3619a --- /dev/null +++ b/experiments9/non_generated/full_core_4_4ksram_ls180.v @@ -0,0 +1,3 @@ +`include "litex_ls180.v" +`include "SPBlock_512W64B8W.v" +`include "libresoc.v" diff --git a/experiments9/tsmc_c018/build_full_4ksram.sh b/experiments9/tsmc_c018/build_full_4ksram.sh index 7402934..3f96d1f 100755 --- a/experiments9/tsmc_c018/build_full_4ksram.sh +++ b/experiments9/tsmc_c018/build_full_4ksram.sh @@ -21,9 +21,10 @@ rm *.vst *.ap # copies over a "full" core with 4k SRAMs. SPBlock_512W6B484.v should # already be in this directory #cp non_generated/full_core_4_4ksram_ls180.il ls180.il -cp non_generated/ls180.v ls180.v +cp non_generated/full_core_4_4ksram_ls180.v ls180.v cp non_generated/full_core_4_4ksram_litex_ls180.v litex_ls180.v cp non_generated/full_core_4_4ksram_libresoc.v libresoc.v +cp non_generated/SPBlock*.v* . touch mem.init touch mem_1.init touch mem_2.init @@ -32,17 +33,10 @@ touch mem_4.init touch mem_5.init -# make the vst from ilang +# make the vst from verilog make vst # starts the build. make lvx - -# make the vst from ilang -make vst - -# starts the build. -make lvx - -- 2.30.2