00001 #include "types.h" 00002 00003 /* 00004 This method is what you need to implement in order to get generic black block 00005 simulation working. This method is called once per cycle. The inputs and ouputs are 00006 provided in the order specified in the verilog file. The cycle parameter starts 00007 at zero and increments with each successive invocation of the method. 00008 00009 The method encompasses the rising edge and falling edge of one clock tick. 00010 */ 00011 void simulate_block_cycle(int cycle, int num_input_pins, int *inputs, int num_output_pins, int *outputs);