-g DonePipe:No \
-g DriveDone:No
-fpga_target: $(TARGET).vm6
+fpga_target: $(TARGET).jed
$(TARGET).ngc: $(TARGET).xst $(VLOGS_ALL)
@mkdir -p xst/projnav.tmp
$(TARGET).vm6: $(TARGET).ngd
cpldfit -p $(CHIP) -power std $(TARGET).ngd -inputs 10
+$(TARGET).jed: $(TARGET).vm6
+ hprep6 -i $(TARGET).vm6
+
$(TARGET)_map.ncd: $(TARGET).ngd
map -p $(CHIP) -cm area -pr off -k 4 -c 100 -o $(TARGET)_map.ncd $(TARGET).ngd $(TARGET).pcf
NET "tos_inputs_e2<2>" LOC="P32";
NET "tos_inputs_e2<3>" LOC="P31";
NET "tos_output" LOC="P30";
-NET "data_output" LOC="P5";
+NET "data_output" LOC="P3";
NET "serial_e2" LOC="P2";
NET "anode<0>" LOC="P29";
NET "anode<1>" LOC="P28";
tos_select = data[11:10];
end
- wire [5:0] output_stuff = { buttons, tos_good };
+ wire [7:0] output_stuff = { 2'b0, buttons, tos_good };
always @(*)
data_output = output_stuff[current_bit[2:0]];