Skip to content

Commit c57ec62

Browse files
committed
如果採用,此提交將完成7-1
修改項目: 模組: 議題37
1 parent 6299027 commit c57ec62

5 files changed

Lines changed: 727 additions & 4 deletions

File tree

Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
/*
2+
WARNING: Do NOT edit the input and output ports in this file in a text
3+
editor if you plan to continue editing the block that represents it in
4+
the Block Editor! File corruption is VERY likely to occur.
5+
*/
6+
7+
/*
8+
Copyright (C) 1991-2015 Altera Corporation. All rights reserved.
9+
Your use of Altera Corporation's design tools, logic functions
10+
and other software and tools, and its AMPP partner logic
11+
functions, and any output files from any of the foregoing
12+
(including device programming or simulation files), and any
13+
associated documentation or information are expressly subject
14+
to the terms and conditions of the Altera Program License
15+
Subscription Agreement, the Altera Quartus II License Agreement,
16+
the Altera MegaCore Function License Agreement, or other
17+
applicable license agreement, including, without limitation,
18+
that your use is for the sole purpose of programming logic
19+
devices manufactured by Altera and sold by Altera or its
20+
authorized distributors. Please refer to the applicable
21+
agreement for further details.
22+
*/
23+
24+
HEADER
25+
{
26+
VERSION = 1;
27+
TIME_UNIT = ns;
28+
DATA_OFFSET = 0.0;
29+
DATA_DURATION = 1000.0;
30+
SIMULATION_TIME = 0.0;
31+
GRID_PHASE = 0.0;
32+
GRID_PERIOD = 10.0;
33+
GRID_DUTY_CYCLE = 50;
34+
}
35+
36+
SIGNAL("CK")
37+
{
38+
VALUE_TYPE = NINE_LEVEL_BIT;
39+
SIGNAL_TYPE = SINGLE_BIT;
40+
WIDTH = 1;
41+
LSB_INDEX = -1;
42+
DIRECTION = INPUT;
43+
PARENT = "";
44+
}
45+
46+
SIGNAL("Q")
47+
{
48+
VALUE_TYPE = NINE_LEVEL_BIT;
49+
SIGNAL_TYPE = SINGLE_BIT;
50+
WIDTH = 1;
51+
LSB_INDEX = -1;
52+
DIRECTION = OUTPUT;
53+
PARENT = "";
54+
}
55+
56+
SIGNAL("Q_bar")
57+
{
58+
VALUE_TYPE = NINE_LEVEL_BIT;
59+
SIGNAL_TYPE = SINGLE_BIT;
60+
WIDTH = 1;
61+
LSB_INDEX = -1;
62+
DIRECTION = OUTPUT;
63+
PARENT = "";
64+
}
65+
66+
SIGNAL("R")
67+
{
68+
VALUE_TYPE = NINE_LEVEL_BIT;
69+
SIGNAL_TYPE = SINGLE_BIT;
70+
WIDTH = 1;
71+
LSB_INDEX = -1;
72+
DIRECTION = INPUT;
73+
PARENT = "";
74+
}
75+
76+
SIGNAL("S")
77+
{
78+
VALUE_TYPE = NINE_LEVEL_BIT;
79+
SIGNAL_TYPE = SINGLE_BIT;
80+
WIDTH = 1;
81+
LSB_INDEX = -1;
82+
DIRECTION = INPUT;
83+
PARENT = "";
84+
}
85+
86+
TRANSITION_LIST("CK")
87+
{
88+
NODE
89+
{
90+
REPEAT = 1;
91+
NODE
92+
{
93+
REPEAT = 500;
94+
LEVEL 0 FOR 1.0;
95+
LEVEL 1 FOR 1.0;
96+
}
97+
}
98+
}
99+
100+
TRANSITION_LIST("Q")
101+
{
102+
NODE
103+
{
104+
REPEAT = 1;
105+
LEVEL X FOR 1000.0;
106+
}
107+
}
108+
109+
TRANSITION_LIST("Q_bar")
110+
{
111+
NODE
112+
{
113+
REPEAT = 1;
114+
LEVEL X FOR 1000.0;
115+
}
116+
}
117+
118+
TRANSITION_LIST("R")
119+
{
120+
NODE
121+
{
122+
REPEAT = 1;
123+
NODE
124+
{
125+
REPEAT = 5;
126+
LEVEL 0 FOR 100.0;
127+
LEVEL 1 FOR 100.0;
128+
}
129+
}
130+
}
131+
132+
TRANSITION_LIST("S")
133+
{
134+
NODE
135+
{
136+
REPEAT = 1;
137+
NODE
138+
{
139+
REPEAT = 50;
140+
LEVEL 0 FOR 10.0;
141+
LEVEL 1 FOR 10.0;
142+
}
143+
}
144+
}
145+
146+
DISPLAY_LINE
147+
{
148+
CHANNEL = "CK";
149+
EXPAND_STATUS = COLLAPSED;
150+
RADIX = Binary;
151+
TREE_INDEX = 0;
152+
TREE_LEVEL = 0;
153+
}
154+
155+
DISPLAY_LINE
156+
{
157+
CHANNEL = "S";
158+
EXPAND_STATUS = COLLAPSED;
159+
RADIX = Binary;
160+
TREE_INDEX = 1;
161+
TREE_LEVEL = 0;
162+
}
163+
164+
DISPLAY_LINE
165+
{
166+
CHANNEL = "R";
167+
EXPAND_STATUS = COLLAPSED;
168+
RADIX = Binary;
169+
TREE_INDEX = 2;
170+
TREE_LEVEL = 0;
171+
}
172+
173+
DISPLAY_LINE
174+
{
175+
CHANNEL = "Q";
176+
EXPAND_STATUS = COLLAPSED;
177+
RADIX = Binary;
178+
TREE_INDEX = 3;
179+
TREE_LEVEL = 0;
180+
}
181+
182+
DISPLAY_LINE
183+
{
184+
CHANNEL = "Q_bar";
185+
EXPAND_STATUS = COLLAPSED;
186+
RADIX = Binary;
187+
TREE_INDEX = 4;
188+
TREE_LEVEL = 0;
189+
}
190+
191+
TIME_BAR
192+
{
193+
TIME = 0;
194+
MASTER = TRUE;
195+
}
196+
;
Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
/*
2+
WARNING: Do NOT edit the input and output ports in this file in a text
3+
editor if you plan to continue editing the block that represents it in
4+
the Block Editor! File corruption is VERY likely to occur.
5+
*/
6+
7+
/*
8+
Copyright (C) 1991-2015 Altera Corporation. All rights reserved.
9+
Your use of Altera Corporation's design tools, logic functions
10+
and other software and tools, and its AMPP partner logic
11+
functions, and any output files from any of the foregoing
12+
(including device programming or simulation files), and any
13+
associated documentation or information are expressly subject
14+
to the terms and conditions of the Altera Program License
15+
Subscription Agreement, the Altera Quartus II License Agreement,
16+
the Altera MegaCore Function License Agreement, or other
17+
applicable license agreement, including, without limitation,
18+
that your use is for the sole purpose of programming logic
19+
devices manufactured by Altera and sold by Altera or its
20+
authorized distributors. Please refer to the applicable
21+
agreement for further details.
22+
*/
23+
24+
HEADER
25+
{
26+
VERSION = 1;
27+
TIME_UNIT = ns;
28+
DATA_OFFSET = 0.0;
29+
DATA_DURATION = 1000.0;
30+
SIMULATION_TIME = 0.0;
31+
GRID_PHASE = 0.0;
32+
GRID_PERIOD = 10.0;
33+
GRID_DUTY_CYCLE = 50;
34+
}
35+
36+
SIGNAL("CK")
37+
{
38+
VALUE_TYPE = NINE_LEVEL_BIT;
39+
SIGNAL_TYPE = SINGLE_BIT;
40+
WIDTH = 1;
41+
LSB_INDEX = -1;
42+
DIRECTION = INPUT;
43+
PARENT = "";
44+
}
45+
46+
SIGNAL("Q")
47+
{
48+
VALUE_TYPE = NINE_LEVEL_BIT;
49+
SIGNAL_TYPE = SINGLE_BIT;
50+
WIDTH = 1;
51+
LSB_INDEX = -1;
52+
DIRECTION = OUTPUT;
53+
PARENT = "";
54+
}
55+
56+
SIGNAL("Q_bar")
57+
{
58+
VALUE_TYPE = NINE_LEVEL_BIT;
59+
SIGNAL_TYPE = SINGLE_BIT;
60+
WIDTH = 1;
61+
LSB_INDEX = -1;
62+
DIRECTION = OUTPUT;
63+
PARENT = "";
64+
}
65+
66+
SIGNAL("R")
67+
{
68+
VALUE_TYPE = NINE_LEVEL_BIT;
69+
SIGNAL_TYPE = SINGLE_BIT;
70+
WIDTH = 1;
71+
LSB_INDEX = -1;
72+
DIRECTION = INPUT;
73+
PARENT = "";
74+
}
75+
76+
SIGNAL("S")
77+
{
78+
VALUE_TYPE = NINE_LEVEL_BIT;
79+
SIGNAL_TYPE = SINGLE_BIT;
80+
WIDTH = 1;
81+
LSB_INDEX = -1;
82+
DIRECTION = INPUT;
83+
PARENT = "";
84+
}
85+
86+
TRANSITION_LIST("CK")
87+
{
88+
NODE
89+
{
90+
REPEAT = 1;
91+
LEVEL 0 FOR 1000.0;
92+
}
93+
}
94+
95+
TRANSITION_LIST("Q")
96+
{
97+
NODE
98+
{
99+
REPEAT = 1;
100+
LEVEL X FOR 1000.0;
101+
}
102+
}
103+
104+
TRANSITION_LIST("Q_bar")
105+
{
106+
NODE
107+
{
108+
REPEAT = 1;
109+
LEVEL X FOR 1000.0;
110+
}
111+
}
112+
113+
TRANSITION_LIST("R")
114+
{
115+
NODE
116+
{
117+
REPEAT = 1;
118+
LEVEL 0 FOR 1000.0;
119+
}
120+
}
121+
122+
TRANSITION_LIST("S")
123+
{
124+
NODE
125+
{
126+
REPEAT = 1;
127+
LEVEL 0 FOR 1000.0;
128+
}
129+
}
130+
131+
DISPLAY_LINE
132+
{
133+
CHANNEL = "CK";
134+
EXPAND_STATUS = COLLAPSED;
135+
RADIX = Binary;
136+
TREE_INDEX = 0;
137+
TREE_LEVEL = 0;
138+
}
139+
140+
DISPLAY_LINE
141+
{
142+
CHANNEL = "Q";
143+
EXPAND_STATUS = COLLAPSED;
144+
RADIX = Binary;
145+
TREE_INDEX = 1;
146+
TREE_LEVEL = 0;
147+
}
148+
149+
DISPLAY_LINE
150+
{
151+
CHANNEL = "Q_bar";
152+
EXPAND_STATUS = COLLAPSED;
153+
RADIX = Binary;
154+
TREE_INDEX = 2;
155+
TREE_LEVEL = 0;
156+
}
157+
158+
DISPLAY_LINE
159+
{
160+
CHANNEL = "R";
161+
EXPAND_STATUS = COLLAPSED;
162+
RADIX = Binary;
163+
TREE_INDEX = 3;
164+
TREE_LEVEL = 0;
165+
}
166+
167+
DISPLAY_LINE
168+
{
169+
CHANNEL = "S";
170+
EXPAND_STATUS = COLLAPSED;
171+
RADIX = Binary;
172+
TREE_INDEX = 4;
173+
TREE_LEVEL = 0;
174+
}
175+
176+
TIME_BAR
177+
{
178+
TIME = 0;
179+
MASTER = TRUE;
180+
}
181+
;

0 commit comments

Comments
 (0)