mirror of
https://github.com/Nuand/bladeRF-wiphy.git
synced 2025-01-29 15:43:59 +00:00
Add cores
This commit is contained in:
parent
3e751f3e37
commit
0155a73a89
93
fpga/ip/altera/fft64/fft64.qsys
Normal file
93
fpga/ip/altera/fft64/fft64.qsys
Normal file
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<system name="$${FILENAME}">
|
||||
<component
|
||||
name="$${FILENAME}"
|
||||
displayName="$${FILENAME}"
|
||||
version="1.0"
|
||||
description=""
|
||||
tags="INTERNAL_COMPONENT=true"
|
||||
categories="" />
|
||||
<parameter name="bonusData"><![CDATA[bonusData
|
||||
{
|
||||
element fft_ii_0
|
||||
{
|
||||
datum _sortIndex
|
||||
{
|
||||
value = "0";
|
||||
type = "int";
|
||||
}
|
||||
}
|
||||
}
|
||||
]]></parameter>
|
||||
<parameter name="clockCrossingAdapter" value="HANDSHAKE" />
|
||||
<parameter name="deviceSpeedGrade" value="8" />
|
||||
<parameter name="fabricMode" value="QSYS" />
|
||||
<parameter name="generateLegacySim" value="false" />
|
||||
<parameter name="generationId" value="0" />
|
||||
<parameter name="globalResetBus" value="false" />
|
||||
<parameter name="hdlLanguage" value="VHDL" />
|
||||
<parameter name="hideFromIPCatalog" value="true" />
|
||||
<parameter name="lockedInterfaceDefinition" value="" />
|
||||
<parameter name="maxAdditionalLatency" value="1" />
|
||||
<parameter name="projectName" value="" />
|
||||
<parameter name="sopcBorderPoints" value="false" />
|
||||
<parameter name="systemHash" value="0" />
|
||||
<parameter name="testBenchDutName" value="" />
|
||||
<parameter name="timeStamp" value="0" />
|
||||
<parameter name="useTestBenchNamingPattern" value="false" />
|
||||
<instanceScript></instanceScript>
|
||||
<interface name="clk" internal="fft_ii_0.clk" type="clock" dir="end">
|
||||
<port name="clk" internal="clk" />
|
||||
</interface>
|
||||
<interface name="rst" internal="fft_ii_0.rst" type="reset" dir="end">
|
||||
<port name="reset_n" internal="reset_n" />
|
||||
</interface>
|
||||
<interface name="sink" internal="fft_ii_0.sink" type="conduit" dir="end">
|
||||
<port name="sink_valid" internal="sink_valid" />
|
||||
<port name="sink_ready" internal="sink_ready" />
|
||||
<port name="sink_error" internal="sink_error" />
|
||||
<port name="sink_sop" internal="sink_sop" />
|
||||
<port name="sink_eop" internal="sink_eop" />
|
||||
<port name="sink_real" internal="sink_real" />
|
||||
<port name="sink_imag" internal="sink_imag" />
|
||||
<port name="fftpts_in" internal="fftpts_in" />
|
||||
<port name="inverse" internal="inverse" />
|
||||
</interface>
|
||||
<interface name="source" internal="fft_ii_0.source" type="conduit" dir="end">
|
||||
<port name="source_valid" internal="source_valid" />
|
||||
<port name="source_ready" internal="source_ready" />
|
||||
<port name="source_error" internal="source_error" />
|
||||
<port name="source_sop" internal="source_sop" />
|
||||
<port name="source_eop" internal="source_eop" />
|
||||
<port name="source_real" internal="source_real" />
|
||||
<port name="source_imag" internal="source_imag" />
|
||||
<port name="fftpts_out" internal="fftpts_out" />
|
||||
</interface>
|
||||
<module
|
||||
name="fft_ii_0"
|
||||
kind="altera_fft_ii"
|
||||
version="19.1"
|
||||
enabled="1"
|
||||
autoexport="1">
|
||||
<parameter name="data_flow" value="Variable Streaming" />
|
||||
<parameter name="data_rep" value="Fixed Point" />
|
||||
<parameter name="design_env" value="NATIVE" />
|
||||
<parameter name="direction" value="Bi-directional" />
|
||||
<parameter name="dsp_resource_opt" value="false" />
|
||||
<parameter name="engine_arch" value="Quad Output" />
|
||||
<parameter name="hard_fp" value="false" />
|
||||
<parameter name="hyper_opt" value="false" />
|
||||
<parameter name="in_order" value="Natural" />
|
||||
<parameter name="in_width" value="16" />
|
||||
<parameter name="length" value="64" />
|
||||
<parameter name="num_engines" value="1" />
|
||||
<parameter name="out_order" value="Natural" />
|
||||
<parameter name="out_width" value="23" />
|
||||
<parameter name="selected_device_family" value="Cyclone V" />
|
||||
<parameter name="twid_width" value="24" />
|
||||
</module>
|
||||
<interconnectRequirement for="$system" name="qsys_mm.clockCrossingAdapter" value="HANDSHAKE" />
|
||||
<interconnectRequirement for="$system" name="qsys_mm.enableEccProtection" value="FALSE" />
|
||||
<interconnectRequirement for="$system" name="qsys_mm.insertDefaultSlave" value="FALSE" />
|
||||
<interconnectRequirement for="$system" name="qsys_mm.maxAdditionalLatency" value="1" />
|
||||
</system>
|
1
fpga/ip/altera/fft64/generate.sh
Normal file
1
fpga/ip/altera/fft64/generate.sh
Normal file
@ -0,0 +1 @@
|
||||
qsys-generate --sim --synthesis=VHDL ./fft64.qsys
|
1
fpga/ip/altera/viterbi_decoder/generate.sh
Normal file
1
fpga/ip/altera/viterbi_decoder/generate.sh
Normal file
@ -0,0 +1 @@
|
||||
qsys-generate --sim --synthesis=VHDL viterbi_decoder.qsys
|
91
fpga/ip/altera/viterbi_decoder/viterbi_decoder.qsys
Normal file
91
fpga/ip/altera/viterbi_decoder/viterbi_decoder.qsys
Normal file
@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<system name="$${FILENAME}">
|
||||
<component
|
||||
name="$${FILENAME}"
|
||||
displayName="$${FILENAME}"
|
||||
version="1.0"
|
||||
description=""
|
||||
tags="INTERNAL_COMPONENT=true"
|
||||
categories="System" />
|
||||
<parameter name="bonusData"><![CDATA[bonusData
|
||||
{
|
||||
element viterbi_ii_0
|
||||
{
|
||||
datum _sortIndex
|
||||
{
|
||||
value = "0";
|
||||
type = "int";
|
||||
}
|
||||
}
|
||||
}
|
||||
]]></parameter>
|
||||
<parameter name="clockCrossingAdapter" value="HANDSHAKE" />
|
||||
<parameter name="deviceSpeedGrade" value="8" />
|
||||
<parameter name="fabricMode" value="QSYS" />
|
||||
<parameter name="generateLegacySim" value="true" />
|
||||
<parameter name="generationId" value="0" />
|
||||
<parameter name="globalResetBus" value="false" />
|
||||
<parameter name="hdlLanguage" value="VHDL" />
|
||||
<parameter name="hideFromIPCatalog" value="true" />
|
||||
<parameter name="lockedInterfaceDefinition" value="" />
|
||||
<parameter name="maxAdditionalLatency" value="1" />
|
||||
<parameter name="projectName" value="" />
|
||||
<parameter name="sopcBorderPoints" value="false" />
|
||||
<parameter name="systemHash" value="0" />
|
||||
<parameter name="testBenchDutName" value="" />
|
||||
<parameter name="timeStamp" value="0" />
|
||||
<parameter name="useTestBenchNamingPattern" value="false" />
|
||||
<instanceScript></instanceScript>
|
||||
<interface name="clk" internal="viterbi_ii_0.clk" type="clock" dir="end">
|
||||
<port name="clk" internal="clk" />
|
||||
</interface>
|
||||
<interface name="in" internal="viterbi_ii_0.in" type="conduit" dir="end">
|
||||
<port name="sink_val" internal="sink_val" />
|
||||
<port name="sink_rdy" internal="sink_rdy" />
|
||||
<port name="eras_sym" internal="eras_sym" />
|
||||
<port name="rr" internal="rr" />
|
||||
</interface>
|
||||
<interface name="out" internal="viterbi_ii_0.out" type="conduit" dir="end">
|
||||
<port name="source_val" internal="source_val" />
|
||||
<port name="source_rdy" internal="source_rdy" />
|
||||
<port name="normalizations" internal="normalizations" />
|
||||
<port name="decbit" internal="decbit" />
|
||||
</interface>
|
||||
<interface name="rst" internal="viterbi_ii_0.rst" type="reset" dir="end">
|
||||
<port name="reset" internal="reset" />
|
||||
</interface>
|
||||
<module
|
||||
name="viterbi_ii_0"
|
||||
kind="altera_viterbi_ii"
|
||||
version="19.1"
|
||||
enabled="1"
|
||||
autoexport="1">
|
||||
<parameter name="BSF" value="1" />
|
||||
<parameter name="FMAX" value="80.0" />
|
||||
<parameter name="ISBER" value="0" />
|
||||
<parameter name="ISOCTAL" value="Decimal" />
|
||||
<parameter name="L" value="7" />
|
||||
<parameter name="NODESYNC" value="0" />
|
||||
<parameter name="acs_units" value="1" />
|
||||
<parameter name="dec_mode" value="V" />
|
||||
<parameter name="design_env" value="NATIVE" />
|
||||
<parameter name="ga" value="91" />
|
||||
<parameter name="gb" value="121" />
|
||||
<parameter name="gc" value="0" />
|
||||
<parameter name="gd" value="0" />
|
||||
<parameter name="ge" value="0" />
|
||||
<parameter name="gf" value="0" />
|
||||
<parameter name="gg" value="0" />
|
||||
<parameter name="n" value="2" />
|
||||
<parameter name="ncodes" value="1" />
|
||||
<parameter name="parallel_optimization" value="Continuous" />
|
||||
<parameter name="selected_device_family" value="Cyclone V" />
|
||||
<parameter name="softbits" value="8" />
|
||||
<parameter name="v" value="42" />
|
||||
<parameter name="viterbi_type" value="Parallel" />
|
||||
</module>
|
||||
<interconnectRequirement for="$system" name="qsys_mm.clockCrossingAdapter" value="HANDSHAKE" />
|
||||
<interconnectRequirement for="$system" name="qsys_mm.enableEccProtection" value="FALSE" />
|
||||
<interconnectRequirement for="$system" name="qsys_mm.insertDefaultSlave" value="FALSE" />
|
||||
<interconnectRequirement for="$system" name="qsys_mm.maxAdditionalLatency" value="1" />
|
||||
</system>
|
5
fpga/ip/altera/wlan_pll/generate.sh
Normal file
5
fpga/ip/altera/wlan_pll/generate.sh
Normal file
@ -0,0 +1,5 @@
|
||||
ip-generate --file-set=QUARTUS_SYNTH --component-name=altera_pll --output-name=wlan_pll \
|
||||
--component-param=gui_reference_clock_frequency="40MHz" \
|
||||
--component-param=gui_output_clock_frequency0="80MHz" \
|
||||
--component-param=gui_phase_shift0="0ps" \
|
||||
--component-param=gui_duty_cycle0="50%"
|
1
fpga/ip/generate.sh
Normal file
1
fpga/ip/generate.sh
Normal file
@ -0,0 +1 @@
|
||||
for i in */*/generate.sh; do echo "Running $i"; (cd `dirname $i`; sh generate.sh); done
|
Loading…
x
Reference in New Issue
Block a user