mirror of
https://github.com/alangarf/apple-one.git
synced 2025-01-23 05:30:16 +00:00
updated ROM paths to handle new board/buildenv structure
This commit is contained in:
parent
7f18c17152
commit
a4f13a87fe
@ -1,7 +1,7 @@
|
||||
DEVICE = hx8k
|
||||
PIN_DEF=ice40hx8k.pcf
|
||||
|
||||
SOURCEDIR = ../../rtl
|
||||
SOURCEDIR = ../../../rtl
|
||||
BUILDDIR = build
|
||||
|
||||
all: apple1 prog
|
||||
|
@ -33,7 +33,7 @@ module ram(
|
||||
`ifdef SIM
|
||||
parameter RAM_FILENAME = "../roms/ram.hex";
|
||||
`else
|
||||
parameter RAM_FILENAME = "../../roms/ram.hex";
|
||||
parameter RAM_FILENAME = "../../../roms/ram.hex";
|
||||
`endif
|
||||
|
||||
reg [7:0] ram_data[0:8191];
|
||||
|
@ -31,7 +31,7 @@ module rom_basic(
|
||||
`ifdef SIM
|
||||
parameter BASIC_FILENAME = "../roms/basic.hex";
|
||||
`else
|
||||
parameter BASIC_FILENAME = "../../roms/basic.hex";
|
||||
parameter BASIC_FILENAME = "../../../roms/basic.hex";
|
||||
`endif
|
||||
|
||||
reg [7:0] rom_data[0:4095];
|
||||
|
@ -31,7 +31,7 @@ module rom_wozmon(
|
||||
`ifdef SIM
|
||||
parameter ROM_FILENAME = "../roms/wozmon.hex";
|
||||
`else
|
||||
parameter ROM_FILENAME = "../../roms/wozmon.hex";
|
||||
parameter ROM_FILENAME = "../../../roms/wozmon.hex";
|
||||
`endif
|
||||
|
||||
reg [7:0] rom_data[0:255];
|
||||
|
@ -36,7 +36,7 @@ module font_rom(
|
||||
`ifdef SIM
|
||||
parameter ROM_FILENAME = "../roms/vga_font_bitreversed.hex";
|
||||
`else
|
||||
parameter ROM_FILENAME = "../../roms/vga_font_bitreversed.hex";
|
||||
parameter ROM_FILENAME = "../../../roms/vga_font_bitreversed.hex";
|
||||
`endif
|
||||
|
||||
reg [7:0] rom[0:1023];
|
||||
|
@ -35,7 +35,7 @@ module vram(
|
||||
`ifdef SIM
|
||||
parameter RAM_FILENAME = "../roms/vga_vram.bin";
|
||||
`else
|
||||
parameter RAM_FILENAME = "../../roms/vga_vram.bin";
|
||||
parameter RAM_FILENAME = "../../../roms/vga_vram.bin";
|
||||
`endif
|
||||
|
||||
reg [5:0] ram_data[0:2047];
|
||||
|
Loading…
x
Reference in New Issue
Block a user