-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
980c7af
commit f339800
Showing
44 changed files
with
2,688 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
set_global_assignment -name IP_TOOL_NAME "LPM_MUX" | ||
set_global_assignment -name IP_TOOL_VERSION "16.1" | ||
set_global_assignment -name IP_GENERATED_DEVICE_FAMILY "{Arria V}" | ||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) "ADC_Mux.v"] | ||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "ADC_Mux_inst.v"] | ||
set_global_assignment -name MISC_FILE [file join $::quartus(qip_path) "ADC_Mux_bb.v"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
// megafunction wizard: %LPM_MUX% | ||
// GENERATION: STANDARD | ||
// VERSION: WM1.0 | ||
// MODULE: LPM_MUX | ||
|
||
// ============================================================ | ||
// File Name: ADC_Mux.v | ||
// Megafunction Name(s): | ||
// LPM_MUX | ||
// | ||
// Simulation Library Files(s): | ||
// lpm | ||
// ============================================================ | ||
// ************************************************************ | ||
// THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE! | ||
// | ||
// 16.1.0 Build 196 10/24/2016 SJ Standard Edition | ||
// ************************************************************ | ||
|
||
|
||
//Copyright (C) 2016 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. | ||
|
||
|
||
// synopsys translate_off | ||
`timescale 1 ps / 1 ps | ||
// synopsys translate_on | ||
module ADC_Mux ( | ||
data0x, | ||
data1x, | ||
sel, | ||
result); | ||
|
||
input [13:0] data0x; | ||
input [13:0] data1x; | ||
input sel; | ||
output [13:0] result; | ||
|
||
wire [13:0] sub_wire0; | ||
wire [13:0] sub_wire3 = data1x[13:0]; | ||
wire [13:0] result = sub_wire0[13:0]; | ||
wire [13:0] sub_wire1 = data0x[13:0]; | ||
wire [27:0] sub_wire2 = {sub_wire3, sub_wire1}; | ||
wire sub_wire4 = sel; | ||
wire sub_wire5 = sub_wire4; | ||
|
||
lpm_mux LPM_MUX_component ( | ||
.data (sub_wire2), | ||
.sel (sub_wire5), | ||
.result (sub_wire0) | ||
// synopsys translate_off | ||
, | ||
.aclr (), | ||
.clken (), | ||
.clock () | ||
// synopsys translate_on | ||
); | ||
defparam | ||
LPM_MUX_component.lpm_size = 2, | ||
LPM_MUX_component.lpm_type = "LPM_MUX", | ||
LPM_MUX_component.lpm_width = 14, | ||
LPM_MUX_component.lpm_widths = 1; | ||
|
||
|
||
endmodule | ||
|
||
// ============================================================ | ||
// CNX file retrieval info | ||
// ============================================================ | ||
// Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Arria V" | ||
// Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0" | ||
// Retrieval info: PRIVATE: new_diagram STRING "1" | ||
// Retrieval info: LIBRARY: lpm lpm.lpm_components.all | ||
// Retrieval info: CONSTANT: LPM_SIZE NUMERIC "2" | ||
// Retrieval info: CONSTANT: LPM_TYPE STRING "LPM_MUX" | ||
// Retrieval info: CONSTANT: LPM_WIDTH NUMERIC "14" | ||
// Retrieval info: CONSTANT: LPM_WIDTHS NUMERIC "1" | ||
// Retrieval info: USED_PORT: data0x 0 0 14 0 INPUT NODEFVAL "data0x[13..0]" | ||
// Retrieval info: USED_PORT: data1x 0 0 14 0 INPUT NODEFVAL "data1x[13..0]" | ||
// Retrieval info: USED_PORT: result 0 0 14 0 OUTPUT NODEFVAL "result[13..0]" | ||
// Retrieval info: USED_PORT: sel 0 0 0 0 INPUT NODEFVAL "sel" | ||
// Retrieval info: CONNECT: @data 0 0 14 0 data0x 0 0 14 0 | ||
// Retrieval info: CONNECT: @data 0 0 14 14 data1x 0 0 14 0 | ||
// Retrieval info: CONNECT: @sel 0 0 1 0 sel 0 0 0 0 | ||
// Retrieval info: CONNECT: result 0 0 14 0 @result 0 0 14 0 | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux.v TRUE | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux.inc FALSE | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux.cmp FALSE | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux.bsf FALSE | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux_inst.v TRUE | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux_bb.v TRUE | ||
// Retrieval info: LIB_FILE: lpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
// megafunction wizard: %LPM_MUX%VBB% | ||
// GENERATION: STANDARD | ||
// VERSION: WM1.0 | ||
// MODULE: LPM_MUX | ||
|
||
// ============================================================ | ||
// File Name: ADC_Mux.v | ||
// Megafunction Name(s): | ||
// LPM_MUX | ||
// | ||
// Simulation Library Files(s): | ||
// lpm | ||
// ============================================================ | ||
// ************************************************************ | ||
// THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE! | ||
// | ||
// 16.1.0 Build 196 10/24/2016 SJ Standard Edition | ||
// ************************************************************ | ||
|
||
//Copyright (C) 2016 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. | ||
|
||
module ADC_Mux ( | ||
data0x, | ||
data1x, | ||
sel, | ||
result); | ||
|
||
input [13:0] data0x; | ||
input [13:0] data1x; | ||
input sel; | ||
output [13:0] result; | ||
|
||
endmodule | ||
|
||
// ============================================================ | ||
// CNX file retrieval info | ||
// ============================================================ | ||
// Retrieval info: PRIVATE: INTENDED_DEVICE_FAMILY STRING "Arria V" | ||
// Retrieval info: PRIVATE: SYNTH_WRAPPER_GEN_POSTFIX STRING "0" | ||
// Retrieval info: PRIVATE: new_diagram STRING "1" | ||
// Retrieval info: LIBRARY: lpm lpm.lpm_components.all | ||
// Retrieval info: CONSTANT: LPM_SIZE NUMERIC "2" | ||
// Retrieval info: CONSTANT: LPM_TYPE STRING "LPM_MUX" | ||
// Retrieval info: CONSTANT: LPM_WIDTH NUMERIC "14" | ||
// Retrieval info: CONSTANT: LPM_WIDTHS NUMERIC "1" | ||
// Retrieval info: USED_PORT: data0x 0 0 14 0 INPUT NODEFVAL "data0x[13..0]" | ||
// Retrieval info: USED_PORT: data1x 0 0 14 0 INPUT NODEFVAL "data1x[13..0]" | ||
// Retrieval info: USED_PORT: result 0 0 14 0 OUTPUT NODEFVAL "result[13..0]" | ||
// Retrieval info: USED_PORT: sel 0 0 0 0 INPUT NODEFVAL "sel" | ||
// Retrieval info: CONNECT: @data 0 0 14 0 data0x 0 0 14 0 | ||
// Retrieval info: CONNECT: @data 0 0 14 14 data1x 0 0 14 0 | ||
// Retrieval info: CONNECT: @sel 0 0 1 0 sel 0 0 0 0 | ||
// Retrieval info: CONNECT: result 0 0 14 0 @result 0 0 14 0 | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux.v TRUE | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux.inc FALSE | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux.cmp FALSE | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux.bsf FALSE | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux_inst.v TRUE | ||
// Retrieval info: GEN_FILE: TYPE_NORMAL ADC_Mux_bb.v TRUE | ||
// Retrieval info: LIB_FILE: lpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ADC_Mux ADC_Mux_inst ( | ||
.data0x ( data0x_sig ), | ||
.data1x ( data1x_sig ), | ||
.sel ( sel_sig ), | ||
.result ( result_sig ) | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
component adc_pll is | ||
port ( | ||
refclk : in std_logic := 'X'; -- clk | ||
rst : in std_logic := 'X'; -- reset | ||
outclk_0 : out std_logic; -- clk | ||
outclk_1 : out std_logic; -- clk | ||
outclk_2 : out std_logic; -- clk | ||
outclk_3 : out std_logic; -- clk | ||
locked : out std_logic -- export | ||
); | ||
end component adc_pll; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<pinplan | ||
variation_name="adc_pll" | ||
megafunction_name="ALTERA_PLL" | ||
intended_family="Arria V" | ||
specifies="all_ports"> | ||
<global> | ||
<pin name="refclk" direction="input" scope="external" /> | ||
<pin name="rst" direction="input" scope="external" /> | ||
<pin name="outclk_0" direction="output" scope="external" /> | ||
<pin name="outclk_1" direction="output" scope="external" /> | ||
<pin name="outclk_2" direction="output" scope="external" /> | ||
<pin name="outclk_3" direction="output" scope="external" /> | ||
<pin name="locked" direction="output" scope="external" /> | ||
</global> | ||
</pinplan> |
Oops, something went wrong.