VHDL-Forum

 
Sie sind nicht eingeloggt.
LoginLogin Kostenlos anmeldenKostenlos anmelden
BeiträgeBeiträge MembersMitglieder SucheSuche HilfeHilfe
VotesUmfragen FilesDateien CalendarKalender BookmarksBookmarks
Veränderbares PWM Signal in VHDL

Anfang   zurück   weiter   Ende
Autor Beitrag
andy
Registrierter Benutzer


Beiträge: 1

New PostErstellt: 17.05.08, 19:42  Betreff: Veränderbares PWM Signal in VHDL  drucken  Thema drucken  weiterempfehlen Antwort mit Zitat  

Hi Leute.
Bin total am verzweifeln. Versuchen seit Tagen ein Programm zu schreiben, womit ich mit einem Tastendruck die Pulsbreite eines PWM-Signals vergrößern bzw verkleinern kann bei gleich bleibender Periodendauer.
Das PWM Signal ist kein Problem, das funks. Nur soblad ich was programmieren womit ich es ändern möchte, bricht es zusammen. wenn ich es mir am Oszi anschaue. Vielleicht kann mir jemand einen Tip gehen. Wäre super.
Quelltext von meiner Realisierung PWM(Puls 1,2ms Periode 20ms) hänge ich dran. Danke

-- STANDARD LIBRARIES --
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.STD_LOGIC_ARITH.ALL;

-- BEGIN OF ENTITY --
ENTITY PWM_TEST IS
-- GLOBAL VARIABLE MAX-COUNT (Periodendauer 20 ms) --
GENERIC (period : INTEGER := 2000);
PORT (
-- GLOBAL CLOCK OF MAX II ALTERA --
glb_clk: IN BIT;
-- CLOCK FOR DISTANCE MEASUREMENT 100 KHz --
en: IN STD_LOGIC;
-- GLOBAL RESET USER PUSH BUTTON S1 --
nReset: IN BIT;
-- CLOCK FOR PWM-MODULATOR 50 Hz --
pwm_clk: OUT STD_LOGIC
);
END PWM_TEST;
-- END OF ENTITY --

-- BEGIN OF ARCHITECTURE --
ARCHITECTURE SCALER OF PWM_TEST IS
TYPE STATE_TYPE IS (START, MOTOR_ON, MOTOR_OFF);
SIGNAL state : STATE_TYPE;
BEGIN
PROCESS (glb_clk, en, nReset)
-- TEMPORARY VARIABLE FOR TIMING --
VARIABLE cnt : INTEGER := 0;
-- GLOBAL RESET --
BEGIN
IF (nReset = '0') THEN
cnt := 0;
state <= START;
-- GENERATING NEW CLOCK --
ELSIF (glb_clk'EVENT AND glb_clk='1') THEN
IF en = '1' THEN
IF cnt < period THEN
cnt := cnt + 1;
ELSE
cnt := 0;
END IF;
CASE state IS
WHEN START =>
IF cnt = 1 THEN
state <= MOTOR_ON;
ELSE
state <= state;
END IF;
WHEN MOTOR_ON =>
IF cnt = 122 THEN
state <= MOTOR_OFF;
ELSE
state <= state;
END IF;
WHEN MOTOR_OFF =>
state <= START;
END CASE;
END IF;
END IF;
END PROCESS;
pwm_clk <= '1' WHEN state = MOTOR_ON ELSE '0';
END SCALER;
-- END OF ARCHITECTURE --

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


Beiträge: 53

New PostErstellt: 12.11.18, 07:23  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
Onega
Stammgast


Beiträge: 41

New PostErstellt: 04.08.19, 19:14  Betreff: Re: Veränderbares PWM Signal in VHDL  drucken  weiterempfehlen Antwort mit Zitat  

Vielleicht kann mir jemand einen Tip gehen.

nach oben
Benutzerprofil anzeigen Private Nachricht an dieses Mitglied senden
tor
Junior-Mitglied


Beiträge: 10

New PostErstellt: 26.10.19, 11:09  Betreff: Re: Veränderbares PWM Signal in VHDL  drucken  weiterempfehlen Antwort mit Zitat  

Signals vergrößern bzw verkleinern kann bei gleich bleibender Periodendauer.

nach oben
Benutzerprofil anzeigen Private Nachricht an dieses Mitglied senden
Sortierung ndern:  
Anfang   zurück   weiter   Ende
Seite 1 von 1
Gehe zu:   
Search

powered by carookee.com - eigenes profi-forum kostenlos

Design © trevorj