VHDL-Forum - Syntax

[gelöst] 16bit ADD-Modul modulo 2^16

[gelöst] 16bit ADD-Modul modulo 2^16

Hi an alle,

möchte ein ADD-Modul zweier 16 bit Zahlen realisieren, wobei der Ausgang wieder eine 16bit Zahl sein soll. Deswegen die Modulo 2^16-Operation danach. Hab das so versucht:

CODE:
architecture arch_addop of addop is
begin
process (A,B)
begin
O <= ( A + B )(15 downto 0);
end process;
end arch_addop;


Der Analyzer meldet jedoch einen Syntax-Fehler bei der Signalzuweisung "O <= (A+B)(15 downto 0)".

Weiß jemand, wie das richtig heißt?
Merci.

Re: 16bit ADD-Modul modulo 2^16

Auf die Schnelle würde ich mir da so helfen:


architecture arch_addop of addop is

begin
process (A,B)
variable C: std_logic_vector(16 downto 0);
begin
C := ( A + B );
O <= C(15 downto 0);
end process;

end arch_addop;


Aber bin auch noch nicht so führend in VHDL, gibt bestimmt ne bessere Lösung als das.

Re: 16bit ADD-Modul modulo 2^16

erst mal danke für den schnellen tip.
leider bringt der simulator diese fehlermeldung:

# trace -all /
# run 400
**Error: vhdlsim,4:
Array index range length mismatch.
quit


Re: 16bit ADD-Modul modulo 2^16

Ich hab da ne Idee:

Hänge mal an die Summanden vorne immer ein Bit an. Dann addieren. Dann nur die ersten 16 Bits nehmen. Also ungefähr so:

architecture arch_addop of addop is

begin
process (A,B)
variable C: std_logic_vector(16 downto 0);
begin
C := ('0' & A) + ('0' & B);
O <= C(15 downto 0);
end process;

end arch_addop;

Dadurch entsteht bei der Addition auch wirklich ein 17 Bit Vektor, dessen 16 untere Bits dann an O zugewiesen werden

Re: 16bit ADD-Modul modulo 2^16

mei, du bist ein "gott".
es funktioniert..

Re: [gelöst] 16bit ADD-Modul modulo 2^16

Fein.

Den Gott kannste aber knicken, stehe noch ni so tief in der Materie wie ich es mir wünschen würde. Bin nur vor kurzem über selbiges Problem gestolpert in einem Buch. Naja, und man lernt ja stets dazu, also fiel mir es hier wieder ein.

xiaoou

20181112 orf
adidas crazy
coach outlet online
saucony shoes
giuseppe zanotti outlet
ugg outlet
magic jerseys
five fingers shoes
swarovski crystal
off-white
tory burch outlet
polo ralph lauren
mizuno running shoes
michael kors handbags
ralph lauren pas cher
canada goose outlet
ugg outlet
coach outlet
gucci outlet
polo ralph lauren
givenchy handbags
michael kors outlet
longchamp solde
timberwolves jerseys
indianapolis colts jerseys
polo outlet
supreme clothing
nike factory outlet
pandora
ugg outlet
pandora charms
barbour jackets
scarpe mbt
ralph lauren polo shirts
coach outlet online
nhl jerseys
ferragamo outlet
ugg outlet
cartier jewelry
mulberry handbags
michael kors outlet
air jordan 12
canada goose jackets
ray ban sunglasses
toms shoes
canada goose jackets
coach outlet
ralph lauren polo
swarovski crystal
polo shirts
nike outlet
longchamp handbags
nike foamposite
red bottom shoes
nike shoes
longchamp handbags
north face jackets
canada goose outlet
canada goose outlet
true religion outlet
ugg boots
new york knicks jersey
cavaliers jerseys
yeezy boost
oakley sunglasses
ugg boots
nike dunks
pandora charms
canada goose
coach outlet store online
mbt shoes
michael kors
christian louboutin outlet
mulberry handbags
ferragamo shoes
polo outlet
ugg outlet
camel shoes
stussy clothing
nfl jerseys wholesale
fitflops sale clearance
michael kors outlet
ugg boots
san francisco 49ers jerseys
canada goose outlet
pandora jewelry
polo outlet
nike outlet
pandora charms sale clearance
michael kors handbags
ugg outlet
oakley sunglasses
pandora jewelry
true religion jeans
malone souliers mules
oakley sunglasses
ugg boots
coach factory outlet
uggs outlet
nike free
nike blazer pas cher
michael kors outlet
barcelona jersey
coach outlet online
gucci handbags
yeezy boost
nike air force 1
nike shoes
true religion jeans
adidas nmd
cheap jerseys
coach outlet online
swarovski outlet
tory burch outlet
ugg outlet
true religion jeans
red bottom shoes
air jordan shoes
nike lunarglide
hermes outlet
pandora charms
adidas ultra boost
columbia sportswear
pandora charms
heat jerseys
canada goose outlet
ray ban sunglasses
wellensteyn jackets
christian louboutin shoes
polo outlet
air huarache
moncler outlet
nhl jerseys
manchester united jersey
pandora charms
clippers jerseys
ugg outlet
ugg outlet
ugg boots
lakers jerseys
chrome hearts sunglasses
spurs jerseys
montblanc pens
kate spade outlet
swarovski outlet
nike roshe one
nike revolution
ugg boots
hornets jerseys
ferragamo outlet
mulberry handbags
fitflops sale clearance
ugg outlet
ugg boots
michael kors outlet clearance
chelsea jersey
ubiq shoes
christian louboutin outlet
coach outlet
lebron james shoes
kate spade outlet
coach outlet
lacoste soldes
canada goose outlet
coach outlet
ugg outlet
nike shoes
canada goose outlet
canada goose jackets
coach outlet online
polo ralph lauren
uggs outlet
reebok trainers
coach outlet
pandora charms
oakley sunglasses
ugg outlet
tory burch outlet
canada goose outlet
bottega veneta outlet
christian louboutin outlet
ray ban sunglasses
polo ralph lauren
air jordan 4
ralph lauren outlet
coach handbags
fred perry polo shirts
ugg boots clearance
nba jerseys
cheap jordans
true religion uk
coach outlet online
kings jerseys
uggs outlet
christian louboutin outlet
kevin durant shoes
canada goose outlet
fitflops
ugg boots
oakley sunglasses
coach outlet
canada goose coats
nike tennis
cheap jordans
kobe shoes
moncler jackets
balenciaga sneakers
uggs
michael kors
canada goose outlet
uggs outlet
nets jerseys
canada goose outlet
canada goose outlet
van cleef & arpels jewelry
fitflops
kate spade outlet
coach factory outlet
ray ban sunglasses
ray ban sunglasses
moncler outlet
polo ralph lauren
michael kors wallets
76ers jerseys
oakley sunglasses
canada goose jackets
adidas wings
polo outlet
canada goose outlet
ugg boots clearance
oakley sunglasses
basketball shoes
wizards jerseys
canada goose coats
y3 shoes
ugg boots
nfl jersey wholesale
football shirts
reebok outlet store
merrell shoes
visvim shoes
nuggets jerseys
jordan shoes
canada goose outlet
le coq sportif shoes
longchamp bags
jordan shoes
real madrid jersey
san antonio spurs jerseys
bucks jerseys
michael kors outlet
thunder jerseys
mishka clothing
air max 90
ferragamo shoes
michael kors
birkenstock sandals
chrome hearts outlet
coach outlet online
polo ralph lauren
gucci outlet
dolce and gabbana
uggs outlet
michael kors outlet
bvlgari jewelry
knicks jerseys
uggs outlet
canada goose outlet
vans shoes
nba jerseys
ugg outlet
canada goose coats
fitflops sale
kate spade outlet
mont blanc pens
mulberry handbags
oakley sunglasses
tory burch outlet
air max 2017
michael kors outlet
coach canada
canada goose jackets
moncler outlet
suicoke sandals
christian louboutin outlet
kappa clothing
cheap jerseys
yeezy boost
uggs outlet
light up shoes
canada goose coats
canada goose outlet
canada goose coats
louboutin pas cher
canada goose outlet
longchamp outlet
soccer shoes
ugg outlet
jazz jerseys
adidas outlet
dior outlet
golden state warriors jerseys
supreme clothing
ugg outlet
air jordan release dates
cheap jordans
air max 97
ugg boots
michael kors outlet
adidas uk
cheap snapbacks
michael kors outlet online
prada sunglasses
tory burch outlet
trailblazers jerseys
coach outlet online
red bottom shoes
michael kors outlet
coach outlet
ugg boots
mulberry handbags
tory burch outlet
cheap football shirts
toms shoes
converse shoes
ray ban sunglasses
ugg outlet
ugg boots
herve leger outlet
pistons jerseys
coach outlet online
coach outlet
true religion jeans
ray ban sunglasses
michael kors outlet
michael kors
true religion jeans
pandora charms
pacers jerseys
nba jerseys
jimmy choo shoes
north face jackets
michael kors outlet
michael kors outlet
adidas outlet
coach outlet
kate spade outlet
ugg boots
canada goose outlet
ugg outlet
kobe 9
red bottom shoes
pandora charms
christian louboutin outlet
true religion jeans
cleveland cavaliers jersey
nike air max 2015
prada shoes
michael kors outlet
denver broncos jerseys
michael kors handbags
coach outlet
true religion jeans
polo ralph lauren
ugg outlet
michael kors outlet
cheap jordans
cheap mlb jerseys
ugg outlet
nobis outlet
cheap jordans
rockets jerseys
coach outlet
keen shoes
ugg boots
mulberry bags
canada goose outlet
houston texans jerseys
ralph lauren polo shirts
polo ralph lauren
polo ralph lauren
kate spade outlet
burberry outlet
burberry outlet
michael kors outlet
michael kors outlet
michael kors outlet
clarks shoes
true religion jeans
ugg boots
north face jackets
polo ralph lauren
undefeated clothing
ed hardy clothing
cheap mlb jerseys
nike presto
ugg outlet
pandora charms
cheap jordans
michael kors outlet
under armour outlet
ralph lauren polo shirts
true religion jeans
christian louboutin outlet
marc jacobs outlet
coach outlet
longchamp outlet
belstaff jackets
yeezy boost 350
coach outlet
tory burch outlet
nike store
cheap nfl jerseys
ugg outlet
pandora charms
canada goose jackets
new balance shoes
air force 1
coach outlet
ugg outlet
prada outlet
canada goose jackets
tory burch outlet
burberry outlet
jack wolfskin
kate spade outlet
michael kors outlet
raptors jerseys
hermes birkin
canada goose outlet
coach outlet
michael kors outlet
air huarache
supra shoes
michael kors outlet
canada goose outlet
air max 1
longchamp handbags
ugg outlet
canada goose jackets
fitflops sale clearance
coach handbags
golden goose sneakers
puma outlet
uggs outlet
michael kors outlet
cheap jordans
coach outlet
uggs outlet
true religion jeans
coach outlet
air max
kate spade outlet
salomon shoes
oakley sunglasses
fitflops shoes
kate spade outlet
tods outlet
canada goose jackets
air jordan shoes
michael kors outlet
ugg outlet
louboutin shoes
jordan shoes
ugg outlet
cazal sunglasses
ugg outlet
michael kors handbags
michael kors outlet
christian louboutin outlet
pandora outlet
nike revolution
moncler outlet
uggs outlet
manolo blahnik outlet
coach outlet
michael kors outlet online
coach outlet online
coach handbags
dc shoes
christian louboutin store
minnetonka outlet
canada goose parka
pandora outlet
moncler outlet
christian louboutin
cheap nhl jerseys
coach outlet
pandora jewelry
kate spade outlet
pelicans jerseys
chicago blackhawks jerseys
coach outlet
canada goose outlet
coach outlet
canada goose outlet
pandora charms
ugg outlets
ugg outlet
miu miu handbags
valentino outlet
ray ban sunglasses
fitflops sale
adidas trainers
red bottom shoes
ray ban sunglasses
adidas nmd
canada goose
cheap nfl jerseys
lakers jerseys
futbol baratas
toms shoes
ray ban outlet
cheap jerseys
suns jerseys
true religion jeans
swarovski outlet
polo ralph lauren
warriors jerseys
hermes belt
ugg outlet
jordan shoes
ferragamo outlet
asics shoes
soccer jerseys
dansko shoes
world cup jerseys
fila shoes
mcm outlet
christian louboutin outlet
tory burch handbags
mbt shoes
uggs outlet
longchamp pliage
true religion outlet
baltimore ravens jerseys
mavericks jerseys
ray ban sunglasses
celtics jerseys
canada goose outlet
chrome hearts outlet
pandora outlet
air jordan 3
moncler outlet
moncler outlet
soccer jerseys
jordan shoes
ugg boots
longchamp solde
christian louboutin outlet
palladium boots
simulation shoes
moncler outlet
polo ralph lauren
canada goose jackets
ugg boots
coach outlet
stephen curry shoes
michael kors outlet clearance
michael kors outlet
gucci outlet
ugg outlet
cheap jordans
true religion outlet
ferragamo outlet
air jordan retro
air max 90
birkenstock outlet
balenciaga sneakers
celine outlet
uggs outlet
ugg outlet
kobe bryant shoes
grizzlies jerseys
christian louboutin shoes
lacoste polo shirts
longchamp outlet
nike shoes
ralph lauren pas cher
ugg outlet
coach outlet
harden shoes
tory burch outlet
ugg boots
canada goose outlet
michael kors outlet
ferragamo outlet
michael kors outlet
christian louboutin outlet
hermes outlet
supreme clothing
off white
swarovski outlet
ugg outlet
pandora charms
mulberry outlet
supreme clothing
michael kors handbags
coach outlet
canada goose jackets
ray ban sunglasses
ugg boots clearance
coach outlet
nike shoes
ugg outlet
jordan shoes
hawks jerseys
burberry outlet
canada goose jackets
uggs outlet
michael kors outlet
pandora outlet
canada goose outlet
canada goose jackets
ugg outlet
bulls jerseys
links of london
christian louboutin outlet
michael kors outlet
ecco shoes
michael kors outlet
mbt shoes
christian louboutin outlet
true religion outlet
mont blanc pens
uggs outlet
christian louboutin outlet
air max 90
moncler outlet
jordan shoes
coach outlet
michael kors outlet
coach outlet
moncler jackets
mulberry bags
jeep shoes
ysl outlet
canada goose jackets
michael kors outlet
polo ralph lauren
air jordan 4
ugg outlet
gucci outlet
canada goose jackets
mulberry outlet
coach outlet
nike cortez
coach factory outlet
fitflops outlet
cheap jordans
20181112

Re: [gelöst] 16bit ADD-Modul modulo 2^16

Polo Ralph Lauren Jackets Sale New York
Womens Ed Hardy Hoodies Sale
cheap big Kate Spade
Polo Ralph Lauren Shop Free
Classic Styles Kate Spade
Genuine Ed Hardy T Shirts
Coach Luggage Royal Fashion Bags
Ralph Lauren USA UK
Kate Spade Shoulder Canada Outlet
Love Kills Slowly T Shirts
Large Discount Polo Ralph Lauren
Coach Mini Bag USA Factory Outlet
discountable price Coach
Worldwide shipping Ed Hardy
outlet online Coach
Kate Spade Hobos
Big Pony Ralph Lauren
Coach Handbags Outlet Online
Ralph Lauren Body Warmer Vest
where can i buy Ed Hardy
USA coach leathers
Kate Spade Wallets
Coach Tote Outlet Online Europe
Polo Ralph Lauren retail prices
Coach Backpacks Free People Discount
Low Price Ralph Lauren Hoodies
Kate Spade Surprise Sale
Ed Hardy Beach Pants Discount
Polo Ralph Laurens for women
Coach Discount
Ralph Lauren Hoodies
Official Supplier Ralph Lauren Body Warmer
Ed Hardy Love Kill Slowly
Ralph Lauren Polo Timeless
Kate Spade black Friday
Kate Spade factory outlet
timeless Coach design
us coach totes women
Ralph Lauren Polos black
Wholesale ED Hardy T-Shirts
Lowest Price ED Hardy T Shirts
Coach Purses Discount
Men's Ralph Lauren Hoodies New Arrival
ED Hardy Shopping