Hello,
I recently started working with myhdl.  Chris Felton is in the process of 
adding fix point support to version 0.8.  I read in a 2009 presentation from 
JPL, at the Casper site, that this was desireable.  The process that I used to 
test the 0.9 version with fixbv is in the attached file 09dev_fixbv_steps.txt.  

I found some code from the casper lib for fft  
https://github.com/amitbansod/casper_myhdl.  It appears to be fairly complete.  
I made some minor changes after forking 
[email protected]:develone/casper_myhdl.git is the new location.  

I am also working with the ZedBoard that has a dual core arm and a zynq 7000 
with 85K fpga.  I have been using the Yocto to build the Linux OS and 
applications.  I currently have opencv, gnuplot, gsl, vlc, python, perl, java, 
and 2 C920 cameras using v4L-utils working.   This  3.12 Linux kernel with 
patches analog devices and from Michael Looijmans which also provides dynamic 
downloading of bin files to the FPGA.    If any of this is of interest I would 
be interested in working with others on these topics.  

Edward Vidal Jr.
e-mail [email protected]
915-595-1613
pwd
/home/vidal/fedora20_ws009/myhdl_development/

mkdir 0.9-dev

cd 0.9-dev/

hg clone  https://bitbucket.org/cfelton/myhdl_09dev_fixbv

cd myhdl_09dev_fixbv/

hg checkout 0.9-dev
18 files updated, 0 files merged, 0 files removed, 0 files unresolved

python setup.py install --home=$HOME

/home/vidal/fedora20_ws009/myhdl_development/0.9-dev/setup_myhdl0.9
#!/bin/bash
export PYTHONPATH=/home/vidal/lib/python:$PYTHONPATH

. /home/vidal/fedora20_ws009/myhdl_development/0.9-dev/setup_myhdl0.9
echo $PYTHONPATH
/home/vidal/lib/python:

[vidal@ws009 ~]$ python
Python 2.7.5 (default, Feb 19 2014, 13:47:28) 
[GCC 4.8.2 20131212 (Red Hat 4.8.2-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from myhdl import *

x1 = fixbv(2.5, min=-8, max=8, res=1/16.)
x1
fixbv(2.500000,  format=(8,3,4), )

x2 = fixbv(1.25, min=-8, max=8, res=1/16.)
x2
fixbv(1.250000,  format=(8,3,4), )
x1 + x2
('  %8d : calc_*_res ', 0, -1, 1, 0.5)
fixbv(3.750000,  format=(9,4,4), )

yum install hgview
Dependencies Resolved

================================================================================
 Package                  Arch          Version             Repository     Size
================================================================================
Installing:
 hgview                   noarch        1.7.1-6.fc20        fedora        270 k
Installing for dependencies:
 hgview-common            noarch        1.7.1-6.fc20        fedora         69 k
 python-docutils          noarch        0.11-1.fc20         fedora        1.5 M
 qscintilla               x86_64        2.7.2-2.fc20        fedora        937 k
 qscintilla-python        x86_64        2.7.2-2.fc20        fedora        936 k

Transaction Summary
================================================================================
Install  1 Package (+4 Dependent packages)

Total download size: 3.7 M
Installed size: 16 M


Reply via email to