Skip to main content

Questions tagged [if]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
254 views

Vintage Pocket Radio Transistor Replacement is Oscillating

I have an old pocket radio which uses silicon NPN transistors for the mixer and IF stages. I replaced 2 of the IF transistors and the unit functions, but the new transistors are faster than the old ...
K Chapman's user avatar
1 vote
1 answer
3k views

Nesting Elseif, If, Else in VHDL

In the code below, I want to pull out statements surrounding the the ** asterisks ** below. stateS0 = 1' and o_done = '1' and ...
user4434's user avatar
  • 159
1 vote
1 answer
378 views

Using TL071 at 455 kHz

I'm experimenting with op-amps and ceramic filters at 455 kHz. I chose TL071 because it was readily available and the datasheet specified a slew rate of 13 V/μs and a GBW of 3 MHz. But in the ...
User's user avatar
  • 849
0 votes
3 answers
87 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: ...
Tuhomaatti's user avatar
0 votes
1 answer
6k 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 ...
Luca Ruggier's user avatar
0 votes
1 answer
151 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 ...
blamblambunny's user avatar
0 votes
1 answer
112 views

Verilog 'if' statement error

Why are LEDs on after executing this? LEDs on pattern is 1010: ...
misha's user avatar
  • 13
1 vote
3 answers
2k 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 ...
Pritam Mishra's user avatar
1 vote
1 answer
266 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 ...
blamblambunny's user avatar
1 vote
2 answers
363 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 ...
BestQualityVacuum's user avatar
0 votes
2 answers
273 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....
Andre Ahmed's user avatar
1 vote
2 answers
6k 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 ...
Eddysanoli's user avatar
5 votes
3 answers
2k 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. ...
Gomu's user avatar
  • 243
0 votes
1 answer
156 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 ...
Steve's user avatar
  • 956
-1 votes
3 answers
282 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 ...
Melendowski's user avatar
1 vote
4 answers
2k 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 ...
user16307's user avatar
  • 12.1k
9 votes
4 answers
38k 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 ...
Brian Dohler's user avatar
4 votes
6 answers
663 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 ...
user007's user avatar
  • 409
2 votes
1 answer
205 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 ...
Aircraft's user avatar
  • 1,666