Search Engine www.edaboard.com

252 Threads found on edaboard.com: Lookup

## RTD temperature From RTD Resistance

You need to apply some formula on the measured result in order to get the real temperature. Usually these calculations are floating point so the lookup table is faster and also smaller as size approach.

## Initialize Lookup Table Verilog

RAM/ROM initialization code inside initial block will be honored by the synthesis tool. Check this post Memory Initialization Methods for some examples. I'm under the impression that a initial block won't synthesize in Verilog... Wh

## Parameterized Generated Case Statement?

Hi guys, I want to create something like the following, essentially creating a lookup table based on the number of states and max/min that I set outside the generate loop. Can I do this without any problems? parameter STATES = 4; parameter MAX = 5; parameter MIN = 1; case(r_STATE) genvar N; generate for (N=0; N

## what do you mean by a slice?

1 Slice = 4 LUTs (lookup tables) for Virtex-5. or sometimes just 2 LUTs for Virtex-4. This might change based on chips.. See this

## Fault simulation in ATPG

Hi ranger01, When using an atpg tool, say tmax, you can do a fault simulation to an existing list of faults with given pattern. For example, if you have an existing pattern that's been generated previously and you wanted to simulate it against a list of faults you have to see if the pattern will cover the faults. You can also lookup fault gr

## Problem in code to display led! Pleased help.

1) Where do you clear PORTC,0 and PORTC,1? Is it somewhere else in the program? I see them set but not cleared: BSF PORTC, 1 GOTO display chuc: BSF PORTC, 0 GOTO display ; display units of temperature 2) The display lookup routine is only defined for values from 0-9. If yo

## Sine wave lookup table

for any value lookup table visit regards ani

## vhdl code for multiplicative inverse modulo 2^4+1

at 4b, the best choice will be a lookup table. you can declare that as a constant in VHDL for this size. type int_array is array (natural range <>) of integer; constant MULT_INV : int_array(0 to 15) := (0,1,9,6,13,7,3,5,15,2,12,14,10,4,11,8 ); signal x : integer range 0 to 15; signal y : integer range 0 to 15; ... y <= MULT_INV(x);

## Nonlinear Timing/Power lookup table for cell lib

How Library Compiler determine the index interval for a 2-D lookup table? the variables listed in x-axis,and y-axis are not normally distributed. Thanks

## TAN SIN COS trigonometry in assembly, PIC18F4520

Hello! Don't compute! Use a lookup table. It's faster and accurate enough for that kind of application. Dora.

## Sine Wave of Frequency 50Hz using DAC0808

I believe Andre is referring to the generation of a lookup table of sine wave values to drive your DAC. A table or array of the values of a sine wave is generated with a fixed time interval between sample points. A timer and the associated interrupt service routine (ISR) can be utilized to fetch the values of the sine wave in sequential order

## lookup table in xlinx using verilog

If you are using Xilinx device, below is a coding example for a lookup table or ROM from page 193 of XST User Guide (by the way, download Xilinx Document Navigator to manag

## Spwm signals generation

hi to all can any one can help me to create sine lookup table to generate 3 phase spwm

## How to use look up tables in 8052 using Assembly?

Here is link describing the implementation of lookup tables in 8051 Assembly: How are lookup tables implemented in 8052 assembler? BigDog

## reverse a binary number

A lookup table, this was suggested by FvM in an older post about FPGA I think but it applies to mcu too. The fastest way would be to use 8bit lookup table but you need 256 bytes of data. I have used a 4bit lookup table that makes the conversion in two steps with just 16bytes for the lookup table, it is the best compromise I (...)

## I am looking for lookup table for log function

For each individual entry: Did you calculate all intermediate partial values in double precision? And store them as double precision partial values? Then as the last step, truncate the final result to single precision before entering it in your lookup table? (Good) Or did you store intermediate partial values as single precision, while calculatin

## 130nm to 65nm design question

Avoiding redesign the circuit and also minimize the layout change, (in other word only circuit tweaking), personally I prefer to tweak the size of the current bias transisitor. It might be useful if you can generate two sets of gmId lookup charts for both technologies so that you can have rough idea how much the transistor perfomance is changed.

## Sinusoidal pwm 16f887

I'M HAVING A PROBLEM WITH lookup VALUES IN THIS PROGRAM IF I INCREASE THE VALUE IN STEPCOUNT TO 200 AND INCREASE THE NUMBER OF lookup VALUES TO 200 THE MPLAB SIMULATOR DOES NOT SHOW CHANGES OF DUTY CYCLE WHEN PR2 MATCHES TIMER 2.When the value initially loaded to the temporary register is between zero and 170 the program performs well on the simula

## New Style lookup table

Is this lookup table possible retlw d'1' retlw d'2' goto abc retlw d'3' retlw d'4' goto xyz retlw d'5' :evil:

## How to Writing this statment in VHDL

In verilog, I can write like this: assign next_lookup = lookup & {16{lookup_en}} // lookup_en is 1 bit. How to have the same statement in VHDL??