VHDL-Forum

 
Sie sind nicht eingeloggt.
LoginLogin Kostenlos anmeldenKostenlos anmelden
BeiträgeBeiträge MembersMitglieder SucheSuche HilfeHilfe
VotesUmfragen FilesDateien CalendarKalender BookmarksBookmarks
VHDL Schieberegister

Anfang   zurück   weiter   Ende
Autor Beitrag
Marc10k
Neuling


Beiträge: 7

New PostErstellt: 02.11.04, 12:38  Betreff: VHDL Schieberegister  drucken  Thema drucken  weiterempfehlen Antwort mit Zitat  

Mein VHLD Programm soll 35 bit (jetzt aber erstmal 7) seriell übertragen nach dem die Run-Taste und der Modus abgefragt wurde. Ich wollte erst die beiden Eingänge abfragen und dann mit jedem Clockzyklus ein bit übertragen. Es werden später beim Sender und Empfänger die gleiche Clock benutzt. Bei ansteigender Flanke werden die Daten geschrieben und bei fallender dann gelesen. Damit das ganze statisch bleibt.
Ich habe schon folgendes geschrieben:


library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

entity Sender is
Port ( Reset : in std_logic;
Run : in std_logic;
Mode : in std_logic_vector(1 downto 0);
clock : in std_logic;
Data : out std_logic);
end Sender;

architecture Behavioral of Sender is
begin

process (Mode, Run, clock)
variable shift_reg: std_logic_vector(6 downto 0):= "1111111";
begin
if Run = '1' then
case Mode is
when "00" => -- good header, data segment 1 and checksum
Data <= '1';
for I in 0 to 6 loop
shift_reg := "0010010";
if (clock'event and clock = '1') then
shift_reg(6 downto 1) := shift_reg (5 downto 0);
Data <= shift_reg(6);
end if;
end loop;
when "01" => -- good header, data segment 2 and checksum
Data <= '1';
when "10" => -- invalid header, data segment 1, checksum
Data <= '1';
when "11" => -- good header, datasegment 2, invalid checksum
Data <= '1';
when others =>
Data <= 'X';
end case;
end if;
end process;
end Behavioral;

Nur leider bekommen ich immer folgende Fehlermeldung:
Signal Data cannot be synthesized, bad synchronous description.

Kennt jemand Abhilfe?

Gruss

Marcus

nach oben
Benutzerprofil anzeigen Private Nachricht an dieses Mitglied senden
Dr. Faustus

Administrator

Beiträge: 107
Ort: Aßling


New PostErstellt: 02.11.04, 12:45  Betreff: Re: VHDL Schieberegister  drucken  weiterempfehlen Antwort mit Zitat  

Probier mal das:

library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

entity Sender is
Port ( Reset : in std_logic;
Run : in std_logic;
Mode : in std_logic_vector(1 downto 0);
clock : in std_logic;
Data : out std_logic);
end Sender;

architecture Behavioral of Sender is
begin

process (Mode, Run, clock)
variable shift_reg: std_logic_vector(6 downto 0):= "1111111";
begin
if (clock'event and clock = '1') then
if Run = '1' then
case Mode is
when "00" => -- good header, data segment 1 and checksum
Data <= '1';

for I in 0 to 6 loop
shift_reg := "0010010";

shift_reg(6 downto 1) := shift_reg (5 downto 0);
Data <= shift_reg(6);
end loop;
when "01" => -- good header, data segment 2 and checksum
Data <= '1';
when "10" => -- invalid header, data segment 1, checksum
Data <= '1';
when "11" => -- good header, datasegment 2, invalid checksum
Data <= '1';
when others =>
Data <= 'X';
end case;
end if;
end if;
end process;
end Behavioral;


Gruesse,

Michael

nach oben
Benutzerprofil anzeigen Private Nachricht an dieses Mitglied senden
Marc10k
Neuling


Beiträge: 7

New PostErstellt: 02.11.04, 14:26  Betreff: Re: VHDL Schieberegister  drucken  weiterempfehlen Antwort mit Zitat  

Vielen Dank es klappt.

Gruss

Marcus

nach oben
Benutzerprofil anzeigen Private Nachricht an dieses Mitglied senden
Marc10k
Neuling


Beiträge: 7

New PostErstellt: 03.11.04, 17:37  Betreff: Re: VHDL Schieberegister  drucken  weiterempfehlen Antwort mit Zitat  

Meine Vorfreude war vielleicht etwas zu früh. Den Fehler habe ich nicht mehr aber es werden leider auch meine Daten nicht mit der Clock übertragen. Ich den Code abgeändert und versucht die Daten im Takt der Clock zu übertragen. Nur leider klappt es nicht so wie ich mir das so vorstelle. Vielleicht kann jemand mir helfen.

Hier mein jetzige Code:


library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

-- Header 7 bits 0010010
-- Data 1 24 bits 264744 - 0010.0110.0100.0111.0100.0100
-- Data 2 24 bits 199408 - 0001.1001.1001.0100.0000.1000
-- Checksum 4 bits

entity Sender is
Port ( Reset : in std_logic;
Run : in std_logic;
Mode : in std_logic_vector(1 downto 0);
clock : in std_logic;
Data : out std_logic);
end Sender;

architecture Behavioral of Sender is
begin

process (Mode, Run, clock)
variable shift_reg_h: std_logic_vector(6 downto 0);
variable shift_reg_d: std_logic_vector(23 downto 0);
variable shift_reg_c: std_logic_vector(3 downto 0);
variable M : integer;

begin
if (clock'event and clock = '1') then
if Run = '1' then
case Mode is
when "00" => -- good header, data segment 1 and checksum
-- send the header first
shift_reg_h := "0010010";
for I in 0 to 6 loop
shift_reg_h (6 downto 1) := shift_reg_h (5 downto 0);
if (clock'event and clock = '0') then
Data <= shift_reg_h (6);
end if;
end loop;
-- send the datasegment next
shift_reg_d := "001001100100011101000100"; --Marcus number
for I in 0 to 23 loop
shift_reg_d (23 downto 1) := shift_reg_d (22 downto 0);
Data <= shift_reg_d (23);
end loop;
-- send the checksum last

when "01" => -- good header, data segment 2 and checksum
-- send the header first
shift_reg_h := "0010010";
for I in 0 to 6 loop
shift_reg_h (6 downto 1) := shift_reg_h (5 downto 0);
Data <= shift_reg_h (6);
end loop;
-- send the datasegment last
shift_reg_d := "000110011001010000001000"; -- Johns number
for I in 0 to 23 loop
shift_reg_d (23 downto 1) := shift_reg_d (22 downto 0);
Data <= shift_reg_d (23);
end loop;
-- send the checksum last

when "10" => -- invalid header, data segment 1, checksum
-- send the invalid header first
shift_reg_h := "0000000"; -- INVALID HEADER
for I in 0 to 6 loop
shift_reg_h (6 downto 1) := shift_reg_h (5 downto 0);
Data <= shift_reg_h (6);
end loop;
-- send the datasegment last
shift_reg_d := "001001100100011101000100"; --Marcus number
for I in 0 to 23 loop
shift_reg_d (23 downto 1) := shift_reg_d (22 downto 0);
Data <= shift_reg_d (23);
end loop;
-- send the checksum last

when "11" => -- good header, datasegment 2, invalid checksum
-- send the header first
shift_reg_h := "0010010";
for I in 0 to 6 loop
shift_reg_h (6 downto 1) := shift_reg_h (5 downto 0);
Data <= shift_reg_h (6);
end loop;
-- send the datasegment next
shift_reg_d := "000110011001010000001000"; -- Johns number
for I in 0 to 23 loop
shift_reg_d (23 downto 1) := shift_reg_d (22 downto 0);
Data <= shift_reg_d (23);
end loop;
-- send the checksum last (INVALID)

when others =>
Data <= 'X';
end case;
end if;
end if;
end process;
end Behavioral;


Anbei auch noch mal der Code als vhd Datei.



Dateianlagen:

Sender.vhd (3 kByte)
anzeigen - speichern
Datei wurde schon 381-mal heruntergeladen.

nach oben
Benutzerprofil anzeigen Private Nachricht an dieses Mitglied senden
xiaoou
Vielschreiber


Beiträge: 53

New PostErstellt: 12.11.18, 07:03  Betreff: xiaoou  drucken  weiterempfehlen Antwort mit Zitat  

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

nach oben
Benutzerprofil anzeigen Private Nachricht an dieses Mitglied senden
thomaslist
Gast
New PostErstellt: 22.09.20, 09:59  Betreff: Re: VHDL Schieberegister  drucken  weiterempfehlen Antwort mit Zitat  

Nike SB Dunk Big Size
Coach bags Discount
Polo Ralph Lauren Newest Collection
Nike Air Max Factory Outlet
us Coach light blue
Factory Store Adidas Yeezy Boost
Cheap Nike Air Max 270
cheap big Polo Ralph Lauren
outlet online Coach
ED Hardy Hoodies Outlet
New Ed Hardy Products
Nike Mercurial Vapor In Stock
Ralph Lauren Shop Now
Store Adidas Yeezy Boost 350
Cheapest Nike Air Presto Online Price
Champion Hoodies USA Store
Ralph Lauren Down Jackets Outlet Online
USA Ralph Lauren Vest Men
Dubai Adidas Boost
Supreme T Shirts USA Factory Outlet
Nike Air Jordan Basketball
Kate Spade macy
Polo Ralph Lauren USA Online
Ralph Lauren Fast Delivery
Ed Hardy Black T Shirts
Supreme Home Outlet
Pandora Bracelets On Sale
Lowest Price Polo Ralph Lauren Mens Clothing Online
Pandora Rings Jewelry
Italy Hogan Vast Selection
Buy Big Size Nike LeBron Shoes
Shop Ralph Lauren Polos Best Sellers
Sale Ed Hardy retailer
USA Polo Ralph Lauren
Nike Air Max 97 Outlet
Salomon Speedcross 3 Shoes new york on sale
Purple Nike Air Jordan
Air Jordan 3 USA Discount
OFF White T Shirt Cheap Prices
Adidas NMD Boost USA Cheap Sale
Fashion Buy Nike Air Jordan Shoes
Adidas Shoes For Men
Sale Cheap Hogan Interactive Shoes
Ralph Lauren USA Online
Save Up Adidas NMD Boost
Coach Outlet Hobo UK
Super Quality Ralph Lauren Womens Shirts
Nike Kobe USA Online
Fashion Air Max 270 Online
Outlet Adidas Yeezy Boost Online
Online Outlet Ralph Lauren Shorts
Polo Ralph Lauren Store Online
US UK Nike Air Jordan Mid
Love Kills Slowly
Nike M2K Tekno No Sale Tax
Pandora Charms Quality And Quantity
coach discount codes
Most Fashionable Coach Outlet
Coach Tote Black Friday
Kate Spade enjoy great discount
Coach Handbags Sale
Ed Hardy For Women
High Quality Ed Hardy Online Store
ED Hardy Surprise Clothing
Palace Skateboard Sweatshirts Cheap
Off White USA Outlet
Nike Air Jordan High For Sale
Authentic Discount Ed Hardy Suits
Shop Polo Ralph Lauren Best Sellers
USA Discount Online Sale Champion Hoodies
Coach Satchels worldwide shipping
Ed Hardy Jeans outlet shop online
Kate Spade Shoulder Bags
Online Adidas Tubular Sale
Ralph Lauren Dress For Women
Cheap Genuine Golden Goose Superstar
Kate Spade Wide Range
Golden Goose Starter Most Fashionable Outlet
Adidas Tubular Wide Varieties
Brown Nike Air Jordan
Ralph Lauren Buy Online
Kate Spade Lowest Price Online
Ralph Lauren Shirts Discount Online
Coach Backpacks Free People Discount
Polo Ralph Lauren Pony Sale USA
Kate Spade timeless
Kate Spade Shoulder Canada Outlet
Ralph Lauren Polo UK
Polo Ralph Lauren Authentic
Coach Shoulder Outlet
Home Pandora Jewelry Outlet
USA coach leathers
New York Nike Air Max Black
Kate Spade Shoulder Bags
Polo Ralph Lauren Send Fast
Salomon Speedcross Save Up To
nach oben
Sortierung ndern:  
Anfang   zurück   weiter   Ende
Seite 1 von 1
Gehe zu:   
Search

powered by carookee.com - eigenes profi-forum kostenlos

Design © trevorj