예제 #1
0
파일: bsp.py 프로젝트: vehar/FPGA-radio
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
예제 #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
예제 #3
0
파일: bsp.py 프로젝트: gongfna/Chips-Demo
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