Questions tagged [if]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
75 views

Running IF only once

O holy simplicity. I've seen lots of solutions for this but none that will fit to my scheme. First of all, lets add simple code: ...
0
votes
1answer
199 views

VHDL using 'if' to compare a 'variable'

Using Xilinx, I need to compare a 'variable' called 'row', defined as: variable row : std_logic_vector(2 * n - 1 downto 0); This line was given to me, now I ...
0
votes
1answer
45 views

SA636 Local Oscillator — Which Pin?

This is about a very specific RF system on a chip -- NXP's SA636, "Low voltage, high-performance mixer FM/IF system...". Datasheet is here: https://www.nxp.com/docs/en/data-sheet/SA636.pdf. The ...
0
votes
1answer
74 views

Verilog 'if' statement error

Why are LEDs on after executing this? LEDs on pattern is 1010: ...
1
vote
3answers
250 views

Instantiating module in condiotional block verilog

Considering a module cannot be instantiated inside if block, how are we supposed to instantiate the module outside the if-else ...
1
vote
1answer
123 views

Microwave - Standard Intermediate Frequency?

VHF/UHF receivers use one of a few standard intermediate frequencies. Is there a similar set of standard intermediate frequencies for microwave (around 3GHz) receivers? As I understand it, the choice ...
1
vote
2answers
213 views

Working with RF Amplifiers for the first time

I'm designing a circuit to use an IF amplifier, specifically the ADL5536, to amplify the signal of an SiPM array consisting of the MicroFJ-60035 TSV SiPM by SensL. My goal is to use this amplifier to ...
0
votes
2answers
148 views

Waveform from an FMCW Radar

I have the following waveform from a Radar thats IVQ-3005 https://www.innosent.de/fileadmin/media/dokumente/datasheets/180222_Datenblatt_IVQ-3005.pdf That Radar is using the PLL ADF4158 http://www....
0
votes
2answers
2k views

How does an “if” statement and “always@” statement work in Verilog?

I'm trying to program an 8 level stack register for a Program Counter. It is working well enough, but for some reason, when I test it, some combinations of inputs produce unexpected results. This is ...
4
votes
3answers
1k views

Intermediate frequency

I'm a newbie to communication systems and circuitry. I was going through superhet receivers while trying to undertand AM/FM/DAB receiver architecture. For FM, IF is fixed to 10.7 MHz and AM 455 KHz. ...
0
votes
1answer
121 views

Transformer core shape for IF application?

I am looking for transformer to use with MC1350 IF amplifier. Searching online, reference boards seems to use Canned type transformer as shown below. The transformer has a center tap on the primary ...
-1
votes
3answers
204 views

why does this conditional logic work?

I'm toying with outputs for an LCD on my FPGA. When I press the button, I want it to display the number 6. Instead, it is displaying 6 constantly, unless I press reset button, at which point the ...
0
votes
4answers
1k views

How does IF remain constant in a heterodyne receiver after mixing?

Below is an illustration about heterodyne principle: I can see the motivation behind heterodyning. I read that it is basically done to obtain a "fixed" frequency for the amplifiers at different ...
5
votes
3answers
18k views

ltspice .param if statement

Super simple question here. Is it possible to use an if statement in a .param LTSpice directive? If so, what is the syntax? Shown below does not function. Note that the .step function can not be ...
4
votes
6answers
657 views

How to remove multiple if else to handle data easily [closed]

I am doing a project which has a custom made board based on PIC32 MCU. It has 30 Inputs and ...
2
votes
1answer
184 views

Handling large number of inputs in PIC microcontroller

I am interfacing PIC32 MCU with 24 inputs and UART. When any inputs comes, this data is transferred to PC via uart. I am using multiple if condition like ...