Example #1
0
def make_chip():
    chip = Chip("user_design")

    #create stimulus and response
    Input(chip, "input_eth_rx")
    Input(chip, "input_rs232_rx")
    Input(chip, "input_switches")
    Input(chip, "input_buttons")
    Input(chip, "input_timer")
    Input(chip, "input_ps2")

    Output(chip, "output_eth_tx")
    Output(chip, "output_rs232_tx")
    Output(chip, "output_leds")

    return chip
Example #2
0
def make_chip():
    chip = Chip("user_design")

    #create stimulus and response
    Input(chip, "input_rs232_rx")
    Output(chip, "output_rs232_tx")
    Input(chip, "input_gps_count")
    Input(chip, "input_gps_rx")
    Output(chip, "output_gps_tx")
    Output(chip, "output_tx_freq")
    Output(chip, "output_tx_am")
    Output(chip, "output_tx_ctl")
    Output(chip, "output_leds")

    return chip
Example #3
0
def make_chip():
    chip = Chip("user_design")

    #create stimulus and response
    Input(chip, "input_eth_rx")
    Input(chip, "input_rs232_rx")
    Input(chip, "input_switches")
    Input(chip, "input_buttons")
    Input(chip, "input_timer")
    Input(chip, "input_i2c")
    Input(chip, "input_ps2")

    Output(chip, "output_eth_tx")
    Output(chip, "output_rs232_tx")
    Output(chip, "output_leds")
    Output(chip, "output_led_r")
    Output(chip, "output_led_g")
    Output(chip, "output_led_b")
    Output(chip, "output_seven_segment_cathode")
    Output(chip, "output_seven_segment_annode")
    Output(chip, "output_i2c")
    Output(chip, "output_vga")
    Output(chip, "output_audio")

    return chip
Example #4
0
 def __init__(self, chip, name, net):
     Output.__init__(self, chip, name)
     self.net = net
     self.packet_len=0
     self.buff=""
Example #5
0
 def __init__(self, chip, name):
     Output.__init__(self, chip, name)
Example #6
0
 def __init__(self, chip, name):
     Output.__init__(self, chip, name)
Example #7
0
 def __init__(self, chip, name, net):
     Output.__init__(self, chip, name)
     self.net = net
     self.packet_len = 0
     self.buff = ""