OpenCores
URL https://opencores.org/ocsvn/2d_game_console/2d_game_console/trunk

Subversion Repositories 2d_game_console

[/] [2d_game_console/] [trunk/] [Processor_Quartus/] [Genesis_6button_Interface.bsf] - Rev 2

Compare with Previous | Blame | View Log

/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 2017  Intel Corporation. All rights reserved.
Your use of Intel Corporation's design tools, logic functions 
and other software and tools, and its AMPP partner logic 
functions, and any output files from any of the foregoing 
(including device programming or simulation files), and any 
associated documentation or information are expressly subject 
to the terms and conditions of the Intel Program License 
Subscription Agreement, the Intel Quartus Prime License Agreement,
the Intel MegaCore Function License Agreement, or other 
applicable license agreement, including, without limitation, 
that your use is for the sole purpose of programming logic 
devices manufactured by Intel and sold by Intel or its 
authorized distributors.  Please refer to the applicable 
agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
        (rect 16 16 240 256)
        (text "Genesis_6button_Interface" (rect 5 0 112 12)(font "Arial" ))
        (text "inst" (rect 8 224 20 236)(font "Arial" ))
        (port
                (pt 0 32)
                (input)
                (text "clock" (rect 0 0 20 12)(font "Arial" ))
                (text "clock" (rect 21 27 41 39)(font "Arial" ))
                (line (pt 0 32)(pt 16 32)(line_width 1))
        )
        (port
                (pt 0 48)
                (input)
                (text "reset" (rect 0 0 20 12)(font "Arial" ))
                (text "reset" (rect 21 43 41 55)(font "Arial" ))
                (line (pt 0 48)(pt 16 48)(line_width 1))
        )
        (port
                (pt 0 64)
                (input)
                (text "mem_grant" (rect 0 0 47 12)(font "Arial" ))
                (text "mem_grant" (rect 21 59 68 71)(font "Arial" ))
                (line (pt 0 64)(pt 16 64)(line_width 1))
        )
        (port
                (pt 0 80)
                (input)
                (text "up_z" (rect 0 0 18 12)(font "Arial" ))
                (text "up_z" (rect 21 75 39 87)(font "Arial" ))
                (line (pt 0 80)(pt 16 80)(line_width 1))
        )
        (port
                (pt 0 96)
                (input)
                (text "down_y" (rect 0 0 31 12)(font "Arial" ))
                (text "down_y" (rect 21 91 52 103)(font "Arial" ))
                (line (pt 0 96)(pt 16 96)(line_width 1))
        )
        (port
                (pt 0 112)
                (input)
                (text "left_x" (rect 0 0 22 12)(font "Arial" ))
                (text "left_x" (rect 21 107 43 119)(font "Arial" ))
                (line (pt 0 112)(pt 16 112)(line_width 1))
        )
        (port
                (pt 0 128)
                (input)
                (text "right_mode" (rect 0 0 44 12)(font "Arial" ))
                (text "right_mode" (rect 21 123 65 135)(font "Arial" ))
                (line (pt 0 128)(pt 16 128)(line_width 1))
        )
        (port
                (pt 0 144)
                (input)
                (text "b_a" (rect 0 0 15 12)(font "Arial" ))
                (text "b_a" (rect 21 139 36 151)(font "Arial" ))
                (line (pt 0 144)(pt 16 144)(line_width 1))
        )
        (port
                (pt 0 160)
                (input)
                (text "c_start" (rect 0 0 28 12)(font "Arial" ))
                (text "c_start" (rect 21 155 49 167)(font "Arial" ))
                (line (pt 0 160)(pt 16 160)(line_width 1))
        )
        (port
                (pt 0 176)
                (input)
                (text "v_sync" (rect 0 0 31 12)(font "Arial" ))
                (text "v_sync" (rect 21 171 52 183)(font "Arial" ))
                (line (pt 0 176)(pt 16 176)(line_width 1))
        )
        (port
                (pt 0 192)
                (input)
                (text "int_ack" (rect 0 0 28 12)(font "Arial" ))
                (text "int_ack" (rect 21 187 49 199)(font "Arial" ))
                (line (pt 0 192)(pt 16 192)(line_width 1))
        )
        (port
                (pt 224 32)
                (output)
                (text "mem_addr[15..0]" (rect 0 0 68 12)(font "Arial" ))
                (text "mem_addr[15..0]" (rect 135 27 203 39)(font "Arial" ))
                (line (pt 224 32)(pt 208 32)(line_width 3))
        )
        (port
                (pt 224 48)
                (output)
                (text "mem_data[15..0]" (rect 0 0 67 12)(font "Arial" ))
                (text "mem_data[15..0]" (rect 136 43 203 55)(font "Arial" ))
                (line (pt 224 48)(pt 208 48)(line_width 3))
        )
        (port
                (pt 224 64)
                (output)
                (text "mem_wren" (rect 0 0 46 12)(font "Arial" ))
                (text "mem_wren" (rect 157 59 203 71)(font "Arial" ))
                (line (pt 224 64)(pt 208 64)(line_width 1))
        )
        (port
                (pt 224 80)
                (output)
                (text "mem_req" (rect 0 0 40 12)(font "Arial" ))
                (text "mem_req" (rect 163 75 203 87)(font "Arial" ))
                (line (pt 224 80)(pt 208 80)(line_width 1))
        )
        (port
                (pt 224 96)
                (output)
                (text "counter[9..0]" (rect 0 0 49 12)(font "Arial" ))
                (text "counter[9..0]" (rect 154 91 203 103)(font "Arial" ))
                (line (pt 224 96)(pt 208 96)(line_width 3))
        )
        (port
                (pt 224 112)
                (output)
                (text "buttons[15..0]" (rect 0 0 51 12)(font "Arial" ))
                (text "buttons[15..0]" (rect 152 107 203 119)(font "Arial" ))
                (line (pt 224 112)(pt 208 112)(line_width 3))
        )
        (port
                (pt 224 128)
                (output)
                (text "current_state[3..0]" (rect 0 0 73 12)(font "Arial" ))
                (text "current_state[3..0]" (rect 130 123 203 135)(font "Arial" ))
                (line (pt 224 128)(pt 208 128)(line_width 3))
        )
        (port
                (pt 224 144)
                (output)
                (text "next_state[3..0]" (rect 0 0 61 12)(font "Arial" ))
                (text "next_state[3..0]" (rect 142 139 203 151)(font "Arial" ))
                (line (pt 224 144)(pt 208 144)(line_width 3))
        )
        (port
                (pt 224 160)
                (output)
                (text "select" (rect 0 0 22 12)(font "Arial" ))
                (text "select" (rect 181 155 203 167)(font "Arial" ))
                (line (pt 224 160)(pt 208 160)(line_width 1))
        )
        (port
                (pt 224 176)
                (output)
                (text "v_sync_flag" (rect 0 0 51 12)(font "Arial" ))
                (text "v_sync_flag" (rect 152 171 203 183)(font "Arial" ))
                (line (pt 224 176)(pt 208 176)(line_width 1))
        )
        (port
                (pt 224 192)
                (output)
                (text "int_req" (rect 0 0 27 12)(font "Arial" ))
                (text "int_req" (rect 176 187 203 199)(font "Arial" ))
                (line (pt 224 192)(pt 208 192)(line_width 1))
        )
        (parameter
                "Reset"
                "0000"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Wait_Frame"
                "0001"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Step_0"
                "0010"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Step_1"
                "0011"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Step_2"
                "0100"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Step_3"
                "0101"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Step_4"
                "0110"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Step_5"
                "0111"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Step_6"
                "1000"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Step_7"
                "1001"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Write_Data"
                "1010"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Wait_Mem"
                "1011"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (parameter
                "Int_Req"
                "1100"
                ""
                (type "PARAMETER_UNSIGNED_BIN") )
        (drawing
                (rectangle (rect 16 16 208 224)(line_width 1))
        )
        (annotation_block (parameter)(rect 240 -64 340 16))
)

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.