You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
191 lines
3.1 KiB
191 lines
3.1 KiB
/* |
|
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) 1991-2013 Altera Corporation |
|
Your use of Altera 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 Altera Program License |
|
Subscription Agreement, Altera 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 Altera and sold by |
|
Altera or its authorized distributors. Please refer to the |
|
applicable agreement for further details. |
|
*/ |
|
|
|
HEADER |
|
{ |
|
VERSION = 1; |
|
TIME_UNIT = ns; |
|
DATA_OFFSET = 0.0; |
|
DATA_DURATION = 1000.0; |
|
SIMULATION_TIME = 0.0; |
|
GRID_PHASE = 0.0; |
|
GRID_PERIOD = 2.5; |
|
GRID_DUTY_CYCLE = 50; |
|
} |
|
|
|
SIGNAL("clk") |
|
{ |
|
VALUE_TYPE = NINE_LEVEL_BIT; |
|
SIGNAL_TYPE = SINGLE_BIT; |
|
WIDTH = 1; |
|
LSB_INDEX = -1; |
|
DIRECTION = INPUT; |
|
PARENT = ""; |
|
} |
|
|
|
SIGNAL("key") |
|
{ |
|
VALUE_TYPE = NINE_LEVEL_BIT; |
|
SIGNAL_TYPE = SINGLE_BIT; |
|
WIDTH = 1; |
|
LSB_INDEX = -1; |
|
DIRECTION = INPUT; |
|
PARENT = ""; |
|
} |
|
|
|
SIGNAL("output") |
|
{ |
|
VALUE_TYPE = NINE_LEVEL_BIT; |
|
SIGNAL_TYPE = SINGLE_BIT; |
|
WIDTH = 1; |
|
LSB_INDEX = -1; |
|
DIRECTION = OUTPUT; |
|
PARENT = ""; |
|
} |
|
|
|
SIGNAL("reset") |
|
{ |
|
VALUE_TYPE = NINE_LEVEL_BIT; |
|
SIGNAL_TYPE = SINGLE_BIT; |
|
WIDTH = 1; |
|
LSB_INDEX = -1; |
|
DIRECTION = INPUT; |
|
PARENT = ""; |
|
} |
|
|
|
TRANSITION_LIST("clk") |
|
{ |
|
NODE |
|
{ |
|
REPEAT = 1; |
|
NODE |
|
{ |
|
REPEAT = 8; |
|
LEVEL 0 FOR 10.0; |
|
LEVEL 1 FOR 10.0; |
|
} |
|
NODE |
|
{ |
|
REPEAT = 1; |
|
LEVEL 0 FOR 10.0; |
|
LEVEL 1 FOR 10.0; |
|
} |
|
LEVEL 0 FOR 10.0; |
|
LEVEL 1 FOR 10.0; |
|
NODE |
|
{ |
|
REPEAT = 40; |
|
LEVEL 0 FOR 10.0; |
|
LEVEL 1 FOR 10.0; |
|
} |
|
} |
|
} |
|
|
|
TRANSITION_LIST("key") |
|
{ |
|
NODE |
|
{ |
|
REPEAT = 1; |
|
LEVEL 1 FOR 40.0; |
|
LEVEL 0 FOR 10.0; |
|
LEVEL 1 FOR 30.0; |
|
LEVEL 0 FOR 20.0; |
|
LEVEL 1 FOR 40.0; |
|
LEVEL 0 FOR 30.0; |
|
LEVEL 1 FOR 50.0; |
|
LEVEL 0 FOR 40.0; |
|
LEVEL 1 FOR 40.0; |
|
LEVEL 0 FOR 120.0; |
|
LEVEL 1 FOR 40.0; |
|
LEVEL 0 FOR 140.0; |
|
LEVEL 1 FOR 50.0; |
|
LEVEL 0 FOR 27.5; |
|
LEVEL 1 FOR 62.5; |
|
LEVEL 0 FOR 27.5; |
|
LEVEL 1 FOR 42.5; |
|
LEVEL 0 FOR 37.5; |
|
LEVEL 1 FOR 152.5; |
|
} |
|
} |
|
|
|
TRANSITION_LIST("output") |
|
{ |
|
NODE |
|
{ |
|
REPEAT = 1; |
|
LEVEL X FOR 1000.0; |
|
} |
|
} |
|
|
|
TRANSITION_LIST("reset") |
|
{ |
|
NODE |
|
{ |
|
REPEAT = 1; |
|
LEVEL 0 FOR 520.0; |
|
LEVEL 1 FOR 20.0; |
|
LEVEL 0 FOR 460.0; |
|
} |
|
} |
|
|
|
DISPLAY_LINE |
|
{ |
|
CHANNEL = "clk"; |
|
EXPAND_STATUS = COLLAPSED; |
|
RADIX = Binary; |
|
TREE_INDEX = 0; |
|
TREE_LEVEL = 0; |
|
} |
|
|
|
DISPLAY_LINE |
|
{ |
|
CHANNEL = "key"; |
|
EXPAND_STATUS = COLLAPSED; |
|
RADIX = Binary; |
|
TREE_INDEX = 1; |
|
TREE_LEVEL = 0; |
|
} |
|
|
|
DISPLAY_LINE |
|
{ |
|
CHANNEL = "reset"; |
|
EXPAND_STATUS = COLLAPSED; |
|
RADIX = Binary; |
|
TREE_INDEX = 2; |
|
TREE_LEVEL = 0; |
|
} |
|
|
|
DISPLAY_LINE |
|
{ |
|
CHANNEL = "output"; |
|
EXPAND_STATUS = COLLAPSED; |
|
RADIX = Binary; |
|
TREE_INDEX = 3; |
|
TREE_LEVEL = 0; |
|
} |
|
|
|
TIME_BAR |
|
{ |
|
TIME = 0; |
|
MASTER = TRUE; |
|
} |
|
;
|
|
|