⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 singt.fit.eqn

📁 产生正弦波波形的一个顶层文件
💻 EQN
字号:
-- Copyright (C) 1991-2005 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 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.
--F1_q[0] is data_rom:u1|lpm_rom:lpm_rom_component|altrom:srom|q[0] at EC1_B
F1_q[0]_clock_0 = GLOBAL(CLK);
F1_q[0]_write_address = WR_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[0]_read_address = RD_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[0] = MEMORY_SEGMENT(, , F1_q[0]_clock_0, , , , , , F1_q[0]_write_address, F1_q[0]_read_address);


--F1_q[1] is data_rom:u1|lpm_rom:lpm_rom_component|altrom:srom|q[1] at EC4_B
F1_q[1]_clock_0 = GLOBAL(CLK);
F1_q[1]_write_address = WR_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[1]_read_address = RD_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[1] = MEMORY_SEGMENT(, , F1_q[1]_clock_0, , , , , , F1_q[1]_write_address, F1_q[1]_read_address);


--F1_q[2] is data_rom:u1|lpm_rom:lpm_rom_component|altrom:srom|q[2] at EC2_B
F1_q[2]_clock_0 = GLOBAL(CLK);
F1_q[2]_write_address = WR_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[2]_read_address = RD_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[2] = MEMORY_SEGMENT(, , F1_q[2]_clock_0, , , , , , F1_q[2]_write_address, F1_q[2]_read_address);


--F1_q[3] is data_rom:u1|lpm_rom:lpm_rom_component|altrom:srom|q[3] at EC5_B
F1_q[3]_clock_0 = GLOBAL(CLK);
F1_q[3]_write_address = WR_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[3]_read_address = RD_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[3] = MEMORY_SEGMENT(, , F1_q[3]_clock_0, , , , , , F1_q[3]_write_address, F1_q[3]_read_address);


--F1_q[4] is data_rom:u1|lpm_rom:lpm_rom_component|altrom:srom|q[4] at EC3_B
F1_q[4]_clock_0 = GLOBAL(CLK);
F1_q[4]_write_address = WR_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[4]_read_address = RD_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[4] = MEMORY_SEGMENT(, , F1_q[4]_clock_0, , , , , , F1_q[4]_write_address, F1_q[4]_read_address);


--F1_q[5] is data_rom:u1|lpm_rom:lpm_rom_component|altrom:srom|q[5] at EC6_B
F1_q[5]_clock_0 = GLOBAL(CLK);
F1_q[5]_write_address = WR_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[5]_read_address = RD_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[5] = MEMORY_SEGMENT(, , F1_q[5]_clock_0, , , , , , F1_q[5]_write_address, F1_q[5]_read_address);


--F1_q[6] is data_rom:u1|lpm_rom:lpm_rom_component|altrom:srom|q[6] at EC7_B
F1_q[6]_clock_0 = GLOBAL(CLK);
F1_q[6]_write_address = WR_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[6]_read_address = RD_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[6] = MEMORY_SEGMENT(, , F1_q[6]_clock_0, , , , , , F1_q[6]_write_address, F1_q[6]_read_address);


--F1_q[7] is data_rom:u1|lpm_rom:lpm_rom_component|altrom:srom|q[7] at EC8_B
F1_q[7]_clock_0 = GLOBAL(CLK);
F1_q[7]_write_address = WR_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[7]_read_address = RD_ADDR(D1_q[0], D1_q[1], D1_q[2], D1_q[3], D1_q[4], D1_q[5]);
F1_q[7] = MEMORY_SEGMENT(, , F1_q[7]_clock_0, , , , , , F1_q[7]_write_address, F1_q[7]_read_address);


--D1_q[0] is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[0] at LC1_B12
--operation mode is up_dn_cntr

D1_q[0]_lut_out = !D1_q[0];
D1_q[0] = DFFEA(D1_q[0]_lut_out, GLOBAL(CLK), , , , , );

--D1L51Q is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[0]~0 at LC1_B12
--operation mode is up_dn_cntr

D1L51Q = D1_q[0];

--D1L3 is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[0]~COUT at LC1_B12
--operation mode is up_dn_cntr

D1L3 = CARRY(D1_q[0]);


--D1_q[1] is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[1] at LC2_B12
--operation mode is up_dn_cntr

D1_q[1]_lut_out = D1_q[1] $ D1L3;
D1_q[1] = DFFEA(D1_q[1]_lut_out, GLOBAL(CLK), , , , , );

--D1L71Q is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[1]~1 at LC2_B12
--operation mode is up_dn_cntr

D1L71Q = D1_q[1];

--D1L5 is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[1]~COUT at LC2_B12
--operation mode is up_dn_cntr

D1L5 = CARRY(D1_q[1] & (D1L3));


--D1_q[2] is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[2] at LC3_B12
--operation mode is up_dn_cntr

D1_q[2]_lut_out = D1_q[2] $ D1L5;
D1_q[2] = DFFEA(D1_q[2]_lut_out, GLOBAL(CLK), , , , , );

--D1L91Q is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[2]~2 at LC3_B12
--operation mode is up_dn_cntr

D1L91Q = D1_q[2];

--D1L7 is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[2]~COUT at LC3_B12
--operation mode is up_dn_cntr

D1L7 = CARRY(D1_q[2] & (D1L5));


--D1_q[3] is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[3] at LC4_B12
--operation mode is up_dn_cntr

D1_q[3]_lut_out = D1_q[3] $ D1L7;
D1_q[3] = DFFEA(D1_q[3]_lut_out, GLOBAL(CLK), , , , , );

--D1L12Q is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[3]~3 at LC4_B12
--operation mode is up_dn_cntr

D1L12Q = D1_q[3];

--D1L9 is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[3]~COUT at LC4_B12
--operation mode is up_dn_cntr

D1L9 = CARRY(D1_q[3] & (D1L7));


--D1_q[4] is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[4] at LC5_B12
--operation mode is up_dn_cntr

D1_q[4]_lut_out = D1_q[4] $ D1L9;
D1_q[4] = DFFEA(D1_q[4]_lut_out, GLOBAL(CLK), , , , , );

--D1L32Q is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[4]~4 at LC5_B12
--operation mode is up_dn_cntr

D1L32Q = D1_q[4];

--D1L11 is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|counter_cell[4]~COUT at LC5_B12
--operation mode is up_dn_cntr

D1L11 = CARRY(D1_q[4] & (D1L9));


--D1_q[5] is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[5] at LC6_B12
--operation mode is up_dn_cntr

D1_q[5]_lut_out = D1_q[5] $ D1L11;
D1_q[5] = DFFEA(D1_q[5]_lut_out, GLOBAL(CLK), , , , , );

--D1L52Q is lpm_counter:Q1_rtl_0|alt_counter_f10ke:wysi_counter|q[5]~5 at LC6_B12
--operation mode is up_dn_cntr

D1L52Q = D1_q[5];


--CLK is CLK at PIN_43
--operation mode is input

CLK = INPUT();


--DOUT[0] is DOUT[0] at PIN_22
--operation mode is output

DOUT[0] = OUTPUT(F1_q[0]);


--DOUT[1] is DOUT[1] at PIN_64
--operation mode is output

DOUT[1] = OUTPUT(F1_q[1]);


--DOUT[2] is DOUT[2] at PIN_25
--operation mode is output

DOUT[2] = OUTPUT(F1_q[2]);


--DOUT[3] is DOUT[3] at PIN_24
--operation mode is output

DOUT[3] = OUTPUT(F1_q[3]);


--DOUT[4] is DOUT[4] at PIN_65
--operation mode is output

DOUT[4] = OUTPUT(F1_q[4]);


--DOUT[5] is DOUT[5] at PIN_50
--operation mode is output

DOUT[5] = OUTPUT(F1_q[5]);


--DOUT[6] is DOUT[6] at PIN_23
--operation mode is output

DOUT[6] = OUTPUT(F1_q[6]);


--DOUT[7] is DOUT[7] at PIN_80
--operation mode is output

DOUT[7] = OUTPUT(F1_q[7]);


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -