# 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
touch mem_5.init
-# make the vst from ilang
+# make the vst from verilog
make vst
# starts the build.
--- /dev/null
+(* blackbox = 1 *)
+module SPBlock_512W64B8W(input [8:0] a,
+ input [63:0] d,
+ output [63:0] q,
+ input [7:0] we,
+ input clk);
+endmodule // SPBlock_512W64B8W
--- /dev/null
+
+-- Phony VHDL interface for SRAM block.
+
+entity SPBlock_512W64B8W is
+ port ( clk : in bit
+ ; we : in bit_vector( 7 downto 0)
+ ; a : in bit_vector( 8 downto 0)
+ ; d : in bit_vector(63 downto 0)
+ ; q : out bit_vector(63 downto 0)
+ ; vdd : in bit
+ ; vss : in bit
+ );
+end SPBlock_512W64B8W;
+
+architecture behavioral of SPBlock_512W64B8W is
+
+begin
+
+end behavioral;
--- /dev/null
+`include "litex_ls180.v"
+`include "SPBlock_512W64B8W.v"
+`include "libresoc.v"
+++ /dev/null
-(* blackbox = 1 *)
-module SPBlock_512W64B8W(input [8:0] a,
- input [63:0] d,
- output [63:0] q,
- input [7:0] we,
- input clk);
-endmodule // SPBlock_512W64B8W
+++ /dev/null
-
--- Phony VHDL interface for SRAM block.
-
-entity SPBlock_512W64B8W is
- port ( clk : in bit
- ; we : in bit_vector( 7 downto 0)
- ; a : in bit_vector( 8 downto 0)
- ; d : in bit_vector(63 downto 0)
- ; q : out bit_vector(63 downto 0)
- ; vdd : in bit
- ; vss : in bit
- );
-end SPBlock_512W64B8W;
-
-architecture behavioral of SPBlock_512W64B8W is
-
-begin
-
-end behavioral;
# 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
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
-