Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

73 lines (51 sloc) 2.008 kB
# Makefile using Icarus Verilog for ECE530 homework
#
# davep 13-Oct-2012
ALL=test_register test_counter test_mux test_carry_lookahead test_adder\
test_adder_acc basys2 test_edge_to_pulse test_freq_div test_time_gen\
test_bcd_clock test_kbd_if test_pic irr
FLAGS=-Wall -D SIMULATION=1
#all : test_disp_drvr
#all : basys2
#all : $(ALL)
#all : irr
all : test_pic
irr : irr.v
iverilog $(FLAGS) -o $@ $^
test_pic : test_pic.v pic.v register.v
iverilog $(FLAGS) -o $@ $^
test_al_controller : PS2_Keyboard.v kbd_if.v test_al_controller.v freq_div.v al_controller.v
iverilog $(FLAGS) -o $@ $^
test_al_clk_counter : al_clk_counter.v test_al_clk_counter.v\
freq_div.v time_register.v
iverilog $(FLAGS) -o $@ $^
basys2 : time_gen.v freq_div.v al_controller.v stub_digits_to_7seg.v basys2.v\
al_clk_counter.v PS2_Keyboard.v kbd_if.v disp_drvr.v alarm_clock.v\
al_reg.v edge_to_pulse.v disp_drvr.v
iverilog $(FLAGS) -o $@ $^
test_disp_drvr : disp_drvr.v test_disp_drvr.v
iverilog $(FLAGS) -o $@ $^
test_bcd_clock : bcd_clock.v test_bcd_clock.v
iverilog $(FLAGS) -o $@ $^
test_kbd_if : test_kbd_if.v kbd_if.v PS2_Keyboard.v freq_div.v
iverilog $(FLAGS) -o $@ $^
test_time_gen : time_gen.v edge_to_pulse.v test_time_gen.v
iverilog $(FLAGS) -o $@ $^
test_freq_div : freq_div.v test_freq_div.v
iverilog $(FLAGS) -o $@ $^
test_edge_to_pulse : test_edge_to_pulse.v edge_to_pulse.v
iverilog $(FLAGS) -o $@ $^
test_register : test_register.v register.v
iverilog $(FLAGS) -o $@ $^
test_mux : test_mux.v mux.v
iverilog $(FLAGS) -o $@ $^
test_carry_lookahead : test_carry_lookahead.v carry_lookahead.v
iverilog $(FLAGS) -o $@ $^
test_counter : test_counter.v counter.v carry_lookahead.v
iverilog $(FLAGS) -o $@ $^
test_adder : test_adder.v adder.v carry_lookahead.v
iverilog $(FLAGS) -o $@ $^
test_adder_acc : test_adder_acc.v counter.v mux.v adder.v register.v adder_acc.v carry_lookahead.v
iverilog $(FLAGS) -o $@ $^
clean:
$(RM) $(ALL)
Jump to Line
Something went wrong with that request. Please try again.