Skip to content

Commit 43343b1

Browse files
author
Sebastien Bourdeauducq
committedFeb 24, 2013
lm32: use submodule
1 parent 0caac22 commit 43343b1

26 files changed

+165
-9453
lines changed
 

‎.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "verilog/lm32/submodule"]
2+
path = verilog/lm32/submodule
3+
url = git://github.com/milkymist/lm32.git

‎build.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,14 @@ def main():
4949
# add Verilog sources
5050
for d in ["generic", "m1crg", "s6ddrphy", "minimac3"]:
5151
plat.add_source_dir(os.path.join("verilog", d))
52-
plat.add_sources(os.path.join("verilog", "lm32"),
52+
plat.add_sources(os.path.join("verilog", "lm32", "submodule", "rtl"),
5353
"lm32_cpu.v", "lm32_instruction_unit.v", "lm32_decoder.v",
5454
"lm32_load_store_unit.v", "lm32_adder.v", "lm32_addsub.v", "lm32_logic_op.v",
55-
"lm32_shifter.v", "lm32_multiplier_spartan6.v", "lm32_mc_arithmetic.v",
55+
"lm32_shifter.v", "lm32_multiplier.v", "lm32_mc_arithmetic.v",
5656
"lm32_interrupt.v", "lm32_ram.v", "lm32_dp_ram.v", "lm32_icache.v",
5757
"lm32_dcache.v", "lm32_top.v", "lm32_debug.v", "lm32_jtag.v", "jtag_cores.v",
5858
"jtag_tap_spartan6.v")
59+
plat.add_sources(os.path.join("verilog", "lm32"), "lm32_config.v")
5960

6061
plat.build_cmdline(soc.get_fragment(), clock_domains=soc.crg.get_clock_domains())
6162

‎verilog/lm32/jtag_cores.v

-86
This file was deleted.

‎verilog/lm32/jtag_tap_spartan6.v

-60
This file was deleted.

‎verilog/lm32/lm32_adder.v

-136
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.