Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
So I have been writing a script in python to export data tables, manipulate them in a csv file and import them back into HFSS. The problem I am having is that python scripts run from HFSS do not seem to allow the import of the csv module. I have a piecewise solution where I have a script to...
So if I am understanding your code above, you are sending out a PWM pulse equal to duty if you are holding down the button. what you want to do is send out a PWM pulse every 20 ms no mater what. The width of that PWM determines the position the servo goes to. I should mention here that my servos...
so your pin assignments should be in line with page 11 of the basys2 manual referenced above.
NET "Clk" LOC="B8"; # 50MHz clock
NET servo(0) LOC="K13";
NET servo(1) LOC="L16";
NET servo(2) LOC="M14";
NET Button(3) LOC="H13";
NET Button(2) LOC="E18";
NET Button(1) LOC="D18";
NET...
I am not seeing any obvious reason why that wouldn't work other than possibly your duty is always set to 2 ms which should make it turn completely to the left and stay there assuming you are using the 120 degree servo and not the 360 degree version of the GWservo. Here is the code I know works...
Have you connected an O-scope to the pin you are intending to use for your PWM signal. I would think your issue is more than likely your signal and not just identifying a pin in the constraint file.
My suggestion would be to set up a counter from (0 to Period) where period is the value (which...
sort of two conversations going on here, this was referring to the following:
which was addressed by TrickyDicky who originally wrote it.
My code does compile and runs just fine.
my mistake i did not see that. I just hate it when experienced people tell inexperienced people to go read a book. They are reading books, if they were not they wouldnt have had a question to begin with. What they lack is the years of experience and training that you have.
when someone says go...
so I am no expert but you can do something simplier than all that, but first let me just say that using a switch as an undedicated clock (as in my example) is in general a bad idea. Having said that, this works.
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity shiftreg is
Port ( LEDs ...
So I am trying to create an I2C controller with a Nexys2 FPGA to interface with an ADC (digilent AD7991) I am trying to get accelerometer data from. This is my first attempt at this and I want to fully understand what is happening step by step so I created a VHDL design that does just that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.