3 == Ports ===========================================================
6 percolate down: gpio_sw_c 1
9 == Constants ========================================================
11 == UCF ==============================================================================
12 NET gpio_sw_c LOC="AJ6" | IOSTANDARD="LVCMOS33"; # Bank 18, Vcco=3.3V, No DCI
14 == TeX ==============================================================
15 == Fleeterpreter ====================================================
16 public void service() {
17 if (!box_out.readyForDataFromShip()) return;
18 box_out.addDataFromShip(0);
21 == FleetSim ==============================================================
23 == FPGA ==============================================================
29 always @(posedge clk) begin
32 last_state <= gpio_sw_c;
36 if (`out_empty && gpio_sw_c && !last_state) begin
40 last_state <= gpio_sw_c;
47 == Test =================================================================
60 collect, send to debug.in;
62 == Contributors =========================================================
63 Adam Megacz <megacz@cs.berkeley.edu>