URL
https://opencores.org/ocsvn/2d_game_console/2d_game_console/trunk
Subversion Repositories 2d_game_console
[/] [2d_game_console/] [trunk/] [Processor_Quartus/] [Interrupt_Controller.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 248 256)
(text "Interrupt_Controller" (rect 5 0 81 12)(font "Arial" ))
(text "inst" (rect 8 224 20 236)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "mem_q[15..0]" (rect 0 0 55 12)(font "Arial" ))
(text "mem_q[15..0]" (rect 21 27 76 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "cpu_ack" (rect 0 0 34 12)(font "Arial" ))
(text "cpu_ack" (rect 21 43 55 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 "clock" (rect 0 0 20 12)(font "Arial" ))
(text "clock" (rect 21 75 41 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "reset" (rect 0 0 20 12)(font "Arial" ))
(text "reset" (rect 21 91 41 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "int_req_0" (rect 0 0 37 12)(font "Arial" ))
(text "int_req_0" (rect 21 107 58 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "int_req_1" (rect 0 0 36 12)(font "Arial" ))
(text "int_req_1" (rect 21 123 57 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "int_req_2" (rect 0 0 37 12)(font "Arial" ))
(text "int_req_2" (rect 21 139 58 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "int_req_3" (rect 0 0 37 12)(font "Arial" ))
(text "int_req_3" (rect 21 155 58 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 232 32)
(output)
(text "mem_addr[15..0]" (rect 0 0 68 12)(font "Arial" ))
(text "mem_addr[15..0]" (rect 143 27 211 39)(font "Arial" ))
(line (pt 232 32)(pt 216 32)(line_width 3))
)
(port
(pt 232 48)
(output)
(text "mem_wren" (rect 0 0 46 12)(font "Arial" ))
(text "mem_wren" (rect 165 43 211 55)(font "Arial" ))
(line (pt 232 48)(pt 216 48)(line_width 1))
)
(port
(pt 232 64)
(output)
(text "mem_req" (rect 0 0 40 12)(font "Arial" ))
(text "mem_req" (rect 171 59 211 71)(font "Arial" ))
(line (pt 232 64)(pt 216 64)(line_width 1))
)
(port
(pt 232 80)
(output)
(text "isr_addr[15..0]" (rect 0 0 56 12)(font "Arial" ))
(text "isr_addr[15..0]" (rect 155 75 211 87)(font "Arial" ))
(line (pt 232 80)(pt 216 80)(line_width 3))
)
(port
(pt 232 96)
(output)
(text "cpu_req" (rect 0 0 33 12)(font "Arial" ))
(text "cpu_req" (rect 178 91 211 103)(font "Arial" ))
(line (pt 232 96)(pt 216 96)(line_width 1))
)
(port
(pt 232 112)
(output)
(text "int_mask[15..0]" (rect 0 0 60 12)(font "Arial" ))
(text "int_mask[15..0]" (rect 151 107 211 119)(font "Arial" ))
(line (pt 232 112)(pt 216 112)(line_width 3))
)
(port
(pt 232 128)
(output)
(text "current_state[3..0]" (rect 0 0 73 12)(font "Arial" ))
(text "current_state[3..0]" (rect 138 123 211 135)(font "Arial" ))
(line (pt 232 128)(pt 216 128)(line_width 3))
)
(port
(pt 232 144)
(output)
(text "next_state[3..0]" (rect 0 0 61 12)(font "Arial" ))
(text "next_state[3..0]" (rect 150 139 211 151)(font "Arial" ))
(line (pt 232 144)(pt 216 144)(line_width 3))
)
(port
(pt 232 160)
(output)
(text "int_ack_0" (rect 0 0 38 12)(font "Arial" ))
(text "int_ack_0" (rect 173 155 211 167)(font "Arial" ))
(line (pt 232 160)(pt 216 160)(line_width 1))
)
(port
(pt 232 176)
(output)
(text "int_ack_1" (rect 0 0 37 12)(font "Arial" ))
(text "int_ack_1" (rect 174 171 211 183)(font "Arial" ))
(line (pt 232 176)(pt 216 176)(line_width 1))
)
(port
(pt 232 192)
(output)
(text "int_ack_2" (rect 0 0 38 12)(font "Arial" ))
(text "int_ack_2" (rect 173 187 211 199)(font "Arial" ))
(line (pt 232 192)(pt 216 192)(line_width 1))
)
(port
(pt 232 208)
(output)
(text "int_ack_3" (rect 0 0 38 12)(font "Arial" ))
(text "int_ack_3" (rect 173 203 211 215)(font "Arial" ))
(line (pt 232 208)(pt 216 208)(line_width 1))
)
(parameter
"Idle"
"0000"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Read_Mask"
"0001"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Wait_Mem_1"
"0010"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Wait_Mem_2"
"0011"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Get_Mask"
"0100"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Int_Req_0"
"0101"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Int_Req_1"
"0110"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Int_Req_2"
"0111"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Int_Req_3"
"1000"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Wait_Req_0"
"1001"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Wait_Req_1"
"1010"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Wait_Req_2"
"1011"
""
(type "PARAMETER_UNSIGNED_BIN") )
(parameter
"Wait_Req_3"
"1100"
""
(type "PARAMETER_UNSIGNED_BIN") )
(drawing
(rectangle (rect 16 16 216 224)(line_width 1))
)
(annotation_block (parameter)(rect 248 -64 348 16))
)