myhdl-list Mailing List for MyHDL (Page 168)
Brought to you by:
jandecaluwe
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(14) |
Nov
(4) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(1) |
Feb
(10) |
Mar
(19) |
Apr
(14) |
May
(1) |
Jun
(4) |
Jul
(10) |
Aug
|
Sep
(2) |
Oct
(7) |
Nov
(17) |
Dec
(12) |
| 2005 |
Jan
(6) |
Feb
(10) |
Mar
(17) |
Apr
(10) |
May
(9) |
Jun
(5) |
Jul
(26) |
Aug
(34) |
Sep
(10) |
Oct
(38) |
Nov
(71) |
Dec
(74) |
| 2006 |
Jan
(20) |
Feb
(20) |
Mar
(7) |
Apr
(2) |
May
(13) |
Jun
|
Jul
|
Aug
(4) |
Sep
(37) |
Oct
(43) |
Nov
(30) |
Dec
(33) |
| 2007 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
(30) |
Jun
(9) |
Jul
(1) |
Aug
|
Sep
(8) |
Oct
(13) |
Nov
|
Dec
(4) |
| 2008 |
Jan
(13) |
Feb
(46) |
Mar
(25) |
Apr
(7) |
May
(20) |
Jun
(73) |
Jul
(38) |
Aug
(47) |
Sep
(24) |
Oct
(18) |
Nov
(9) |
Dec
(36) |
| 2009 |
Jan
(31) |
Feb
(24) |
Mar
(73) |
Apr
(13) |
May
(47) |
Jun
(28) |
Jul
(36) |
Aug
(2) |
Sep
(5) |
Oct
(8) |
Nov
(16) |
Dec
(29) |
| 2010 |
Jan
(34) |
Feb
(18) |
Mar
(18) |
Apr
(5) |
May
|
Jun
(24) |
Jul
(53) |
Aug
(3) |
Sep
(18) |
Oct
(33) |
Nov
(19) |
Dec
(15) |
| 2011 |
Jan
(9) |
Feb
(4) |
Mar
(39) |
Apr
(213) |
May
(86) |
Jun
(46) |
Jul
(22) |
Aug
(11) |
Sep
(78) |
Oct
(59) |
Nov
(38) |
Dec
(24) |
| 2012 |
Jan
(9) |
Feb
(22) |
Mar
(89) |
Apr
(55) |
May
(222) |
Jun
(86) |
Jul
(57) |
Aug
(32) |
Sep
(49) |
Oct
(69) |
Nov
(12) |
Dec
(35) |
| 2013 |
Jan
(67) |
Feb
(39) |
Mar
(18) |
Apr
(42) |
May
(79) |
Jun
(1) |
Jul
(19) |
Aug
(18) |
Sep
(54) |
Oct
(79) |
Nov
(9) |
Dec
(26) |
| 2014 |
Jan
(30) |
Feb
(44) |
Mar
(26) |
Apr
(11) |
May
(39) |
Jun
(1) |
Jul
(89) |
Aug
(15) |
Sep
(7) |
Oct
(6) |
Nov
(20) |
Dec
(27) |
| 2015 |
Jan
(107) |
Feb
(106) |
Mar
(130) |
Apr
(90) |
May
(147) |
Jun
(28) |
Jul
(53) |
Aug
(16) |
Sep
(23) |
Oct
(7) |
Nov
|
Dec
(16) |
| 2016 |
Jan
(86) |
Feb
(41) |
Mar
(38) |
Apr
(31) |
May
(37) |
Jun
(11) |
Jul
(1) |
Aug
(1) |
Sep
(3) |
Oct
(1) |
Nov
(5) |
Dec
(3) |
| 2017 |
Jan
|
Feb
(4) |
Mar
(2) |
Apr
(2) |
May
|
Jun
(3) |
Jul
(2) |
Aug
(2) |
Sep
(1) |
Oct
(2) |
Nov
(1) |
Dec
(1) |
| 2018 |
Jan
(1) |
Feb
(1) |
Mar
(7) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(3) |
Dec
|
| 2020 |
Jan
(1) |
Feb
(2) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
(3) |
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(12) |
Dec
(11) |
| 2022 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
(3) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
| 2023 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2024 |
Jan
(1) |
Feb
(2) |
Mar
(4) |
Apr
(2) |
May
(2) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
(2) |
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
|
From: George P. <ge...@ga...> - 2006-12-14 14:12:50
|
dannoritzer wrote: > George Pantazopoulos wrote: > > >>> >>> >> FYI I just found a python-oriented hosting provider that already has >> Zope AND Plone installed and ready to create websites on. I was really >> impressed by their features, and I signed up for month to month, so all >> I risk is $34.95 right now. Haven't set it up just yet, but I'll let you >> all know how it goes. >> > > You should spend that money on a hard drive and install Linux on it ;) > Most distributions come at least with zope and you can install plone on > top of that. > > But hey, what am I saying, there used to be a windows installer for > plone. Might be another way for testing. > > Guenter > Been there, done that (Gentoo and Ubuntu), too busy to deal with all that right now. I want it to Just Work(tm) ;-) George |
|
From: dannoritzer <dan...@we...> - 2006-12-14 14:10:42
|
George Pantazopoulos wrote: >> >> > FYI I just found a python-oriented hosting provider that already has > Zope AND Plone installed and ready to create websites on. I was really > impressed by their features, and I signed up for month to month, so all > I risk is $34.95 right now. Haven't set it up just yet, but I'll let you > all know how it goes. You should spend that money on a hard drive and install Linux on it ;) Most distributions come at least with zope and you can install plone on top of that. But hey, what am I saying, there used to be a windows installer for plone. Might be another way for testing. Guenter |
|
From: George P. <ge...@ga...> - 2006-12-14 13:53:23
|
Tom Dillon wrote: >> Mm, but have you ever used it :-) Several year ago, I have a number of >> times, and never really liked it. I found if very complicated and full of >> jargon. Also, it has something unpythonic: it's large, not orthogonal and >> complex. It was supposed to become the Python killer app, but from what I >> hear many pythonistas simply don't like it. >> >> I never used Plone, but I imagine it has been invented to take away >> some complexity from the underlying Zope to make a more usable system. >> Still, I fear that the underlying complexity still shines through. >> Tom is using it for his site, so he may give good advice here. >> >> > > I agree it is complicated. Newer versions of plone keep you further away from > zope but there is still more to know than you would like to. I had to buy a > book to help me understand how to use it. > > On the other hand, it provides a lot. All the site structure is just there. > There are add on products for just about anything you could need, including a > wiki. > > All in all, it is probably overkill for a small site, if something easier to > use was available that provided all the features required for the site that > would be a better option. > > Maybe the thing to do is so compile a list of features needed to properly host > the site. > > Tom > > FYI I just found a python-oriented hosting provider that already has Zope AND Plone installed and ready to create websites on. I was really impressed by their features, and I signed up for month to month, so all I risk is $34.95 right now. Haven't set it up just yet, but I'll let you all know how it goes. Another interesting tidbit from their site: "As both python and open-source lovers we're happy to offer free trac/subversion hosting for open-source python projects. We already host more than 400 of them." Here's the site. http://www.webfaction.com/ Rock on, George |
|
From: Tom D. <TD...@di...> - 2006-12-14 06:53:40
|
> Mm, but have you ever used it :-) Several year ago, I have a number of > times, and never really liked it. I found if very complicated and full of > jargon. Also, it has something unpythonic: it's large, not orthogonal and > complex. It was supposed to become the Python killer app, but from what I > hear many pythonistas simply don't like it. > > I never used Plone, but I imagine it has been invented to take away > some complexity from the underlying Zope to make a more usable system. > Still, I fear that the underlying complexity still shines through. > Tom is using it for his site, so he may give good advice here. > I agree it is complicated. Newer versions of plone keep you further away from zope but there is still more to know than you would like to. I had to buy a book to help me understand how to use it. On the other hand, it provides a lot. All the site structure is just there. There are add on products for just about anything you could need, including a wiki. All in all, it is probably overkill for a small site, if something easier to use was available that provided all the features required for the site that would be a better option. Maybe the thing to do is so compile a list of features needed to properly host the site. Tom |
|
From: Brendan R. <bre...@gm...> - 2006-12-14 00:04:34
|
Jan Decaluwe <jan <at> jandecaluwe.com> writes: > > George Pantazopoulos wrote: > > After doing some explorations, I highly recommend looking at Zope for > > myhdl.org. I've been looking at content management systems, including > > MediaWiki, phpBB, Drupal, Wordpress, and Zope. So far, I think Zope offers > > the most potential. > > Mm, but have you ever used it Several year ago, I have a number of times, > and never really liked it. I found if very complicated and full of jargon. > Also, it has something unpythonic: it's large, not orthogonal and complex. > It was supposed to become the Python killer app, but from what I hear > many pythonistas simply don't like it. > > I never used Plone, but I imagine it has been invented to take away > some complexity from the underlying Zope to make a more usable system. > Still, I fear that the underlying complexity still shines through. > Tom is using it for his site, so he may give good advice here. > > In any case, with the migration to myhdl.org we now have the opportunity > to re-assess the CMS software issue. I think it's wise to take some > time to consider the options carefully, based on a specific list > of must-have and desirable features. > > Jan > I'm definitely not a fan of Zope and, through relation, Plone. It's just too complex. There are a few new python-based CMSs, however, and of these I think that skeletonz (http://orangoo.com/skeletonz/) looks pretty promising, though there's bound to be one for Turbogears or Django as well. Just my $0.02. - Brendan |
|
From: dannoritzer <dan...@we...> - 2006-12-13 16:08:18
|
Joachim König-Baltes wrote: > I'm working with Plone (CMS based on Zope) as my day job, so in case > that some > help and support is needed, I can contribute (e.g. if a MyHDL skin is > needed). Be aware > that the learning curve is rather steep, but Plone and Zope are mature > and worth the > efforts IMO. > > Joachim > That sounds good to have an experienced Plone user/developer. I had some frustrating experience with adding Products to Plone that caused a lot of maintenance when doing a site update. -- Products are add ons to the basic installation that add functions like issue tracking for example. http://plone.org/products -- One I had problems with was PloneCollectorNG, an issue tracking system. Another was a Product with some additional file types -- forgot its name -- that could be added and had nicer icons and better indexing support for PDF documents for example. I think before committing to Plone it would be good to make a list of what features should be provided by the page and then look how much is provided by Plone and what can be added through Products. Cheers, Guenter |
|
From: Jan D. <ja...@ja...> - 2006-12-13 16:02:36
|
George Pantazopoulos wrote: > On Fri, November 17, 2006 5:40 pm, Günter Dannoritzer wrote: > >>Jan Decaluwe wrote: >>[...] >> >>>>Trac looks more like it is suited for one project group. I think the >>>>mix >>>>of having different users that can participate in different projects >>>>requires quite some tweaking of trac. >>> >>>I'm not convinced this is what we need first. Trac seems to be a >>>sourceforge done better, in other words, a development management >>>system. But this is a general problem, well suited to large scale >>>dedicated hosted solutions such as sourceforge itself, or Google Code >>>(both with subversion support), or opencores.org. >>> >>>I think what we need first is a content management system, well suited >>>to >>>create great documentation rapidly, and distribute releases by the >>>good old method of tar files. >>> >> >>I see what you are saying and I agree, with a small community as it is >>now, there is no need to have a full fledged project management system. >>That just adds to the administrative overhead and also can create a lot >>of junk. >> >>Now what features do you see that a content management system would add, >>that cannot be done with the docuwiki as it is now? >> >> >>Guenter >> > > > After doing some explorations, I highly recommend looking at Zope for > myhdl.org. I've been looking at content management systems, including > MediaWiki, phpBB, Drupal, Wordpress, and Zope. So far, I think Zope offers > the most potential. Mm, but have you ever used it :-) Several year ago, I have a number of times, and never really liked it. I found if very complicated and full of jargon. Also, it has something unpythonic: it's large, not orthogonal and complex. It was supposed to become the Python killer app, but from what I hear many pythonistas simply don't like it. I never used Plone, but I imagine it has been invented to take away some complexity from the underlying Zope to make a more usable system. Still, I fear that the underlying complexity still shines through. Tom is using it for his site, so he may give good advice here. In any case, with the migration to myhdl.org we now have the opportunity to re-assess the CMS software issue. I think it's wise to take some time to consider the options carefully, based on a specific list of must-have and desirable features. Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Losbergenlaan 16, B-3010 Leuven, Belgium From Python to silicon: http://myhdl.jandecaluwe.com |
|
From: George P. <ge...@ga...> - 2006-12-13 15:48:03
|
On Wed, December 13, 2006 10:15 am, Joachim K=F6nig-Baltes wrote: > George Pantazopoulos schrieb: >> After doing some explorations, I highly recommend looking at Zope for >> myhdl.org. I've been looking at content management systems, including >> MediaWiki, phpBB, Drupal, Wordpress, and Zope. So far, I think Zope >> offers >> the most potential. >> >> Zope seems more fundamental than all the others. Since modules can be >> downloaded and/or created for it, it can incorporate all their >> functionality. >> >> In fact, my friend told me a Zope-based site could even run all those >> other pre-existing components under one umbrella. Last, but certainly >> not >> least, Zope is based on Python, and not nasty, C-like PHP. >> > I'm working with Plone (CMS based on Zope) as my day job, so in case > that some > help and support is needed, I can contribute (e.g. if a MyHDL skin is > needed). Be aware > that the learning curve is rather steep, but Plone and Zope are mature > and worth the > efforts IMO. > > Joachim > Plone looks like exactly what I've wanted all along! Thanks Joachim! I was very impressed with their website and demostration videos. I think experiencing something like this as a lot better than reading about it. Plone demonstration videos: http://plone.org/about/movies Rock on, George > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > myhdl-list mailing list > myh...@li... > https://lists.sourceforge.net/lists/listinfo/myhdl-list > --=20 George Pantazopoulos http://www.gammaburst.net |
|
From: Tom D. <TD...@di...> - 2006-12-13 15:32:00
|
> I'm working with Plone (CMS based on Zope) as my day job, so in case > that some > help and support is needed, I can contribute (e.g. if a MyHDL skin is > needed). Be aware > that the learning curve is rather steep, but Plone and Zope are mature > and worth the > efforts IMO. > We use plone to host our website and since we have offered to host the myhdl.org site, that may be a good option. We are by no means plone experts, but can do enough to get a site setup so it is easy to add content. Tom |
|
From:
<joa...@em...> - 2006-12-13 15:15:26
|
George Pantazopoulos schrieb: > After doing some explorations, I highly recommend looking at Zope for > myhdl.org. I've been looking at content management systems, including > MediaWiki, phpBB, Drupal, Wordpress, and Zope. So far, I think Zope offers > the most potential. > > Zope seems more fundamental than all the others. Since modules can be > downloaded and/or created for it, it can incorporate all their > functionality. > > In fact, my friend told me a Zope-based site could even run all those > other pre-existing components under one umbrella. Last, but certainly not > least, Zope is based on Python, and not nasty, C-like PHP. > I'm working with Plone (CMS based on Zope) as my day job, so in case that some help and support is needed, I can contribute (e.g. if a MyHDL skin is needed). Be aware that the learning curve is rather steep, but Plone and Zope are mature and worth the efforts IMO. Joachim |
|
From: George P. <ge...@ga...> - 2006-12-13 14:16:50
|
On Fri, November 17, 2006 5:40 pm, G=FCnter Dannoritzer wrote: > Jan Decaluwe wrote: > [...] >>> Trac looks more like it is suited for one project group. I think the >>> mix >>> of having different users that can participate in different projects >>> requires quite some tweaking of trac. >> >> I'm not convinced this is what we need first. Trac seems to be a >> sourceforge done better, in other words, a development management >> system. But this is a general problem, well suited to large scale >> dedicated hosted solutions such as sourceforge itself, or Google Code >> (both with subversion support), or opencores.org. >> >> I think what we need first is a content management system, well suited >> to >> create great documentation rapidly, and distribute releases by the >> good old method of tar files. >> > > I see what you are saying and I agree, with a small community as it is > now, there is no need to have a full fledged project management system. > That just adds to the administrative overhead and also can create a lot > of junk. > > Now what features do you see that a content management system would add= , > that cannot be done with the docuwiki as it is now? > > > Guenter > After doing some explorations, I highly recommend looking at Zope for myhdl.org. I've been looking at content management systems, including MediaWiki, phpBB, Drupal, Wordpress, and Zope. So far, I think Zope offer= s the most potential. Zope seems more fundamental than all the others. Since modules can be downloaded and/or created for it, it can incorporate all their functionality. In fact, my friend told me a Zope-based site could even run all those other pre-existing components under one umbrella. Last, but certainly not least, Zope is based on Python, and not nasty, C-like PHP. Here's but one site someone did using Zope as a backend: http://www.issuetrackerproduct.com/ His main site: http://www.peterbe.com/ Zope webpage: http://www.zope.org/ Rock on, George http://www.gammaburst.net |
|
From: George P. <ge...@ga...> - 2006-12-13 14:14:16
|
On Wed, December 13, 2006 9:16 am, Jan Decaluwe wrote: > George Pantazopoulos wrote: >>>At some point I would like to take some time to think thorougly >>>about tristates and inouts and come up with a satisfactory >>>solution, hopefully based on user inputs and feedback. >>>Currently, I'm focussed on getting toVHDL on track >>>and right - which offers more than enough brain teasers :-) >>> >>> >> >> Hi Jan, >> >> Looks like you've been on a roll with toVHDL! I'm looking forward to >> trying out 0.6dev3 with its signed support. > > It's available now. > >> >> I'm planning a HD44780-based LCD interface for the growing MyHDL IP >> library. I think this is a necessary and useful addition with a lot of >> popular appeal. To achieve my design goals, I'll need some >> bidirectional/tristate support. How's that coming along? :-) Can I hel= p >> somehow? > > I'll no longer try to release 0.6 before the year-end. Instead, > with 0.6dev3 out I now want to make some progress with myhdl.org, > so that it is up and running and stable before 0.6. After that, > I promise I'll look into the bidir/tristate functionality. I'm > sure you'll be able to help but I want to do it right and it > will take some time. I may decide to include it in 0.6. > > Jan > Thanks Jan, I appreciate your effort, as always. No rush on the Tristate support. I've been busy, but I plan on getting back into my electronic design stuff between xmas and new years. Feel free to ask for help/feedback. Regards, George http://www.gammaburst.net |
|
From: Jan D. <ja...@ja...> - 2006-12-13 13:46:33
|
George Pantazopoulos wrote: >>At some point I would like to take some time to think thorougly >>about tristates and inouts and come up with a satisfactory >>solution, hopefully based on user inputs and feedback. >>Currently, I'm focussed on getting toVHDL on track >>and right - which offers more than enough brain teasers :-) >> >> > > Hi Jan, > > Looks like you've been on a roll with toVHDL! I'm looking forward to > trying out 0.6dev3 with its signed support. It's available now. > > I'm planning a HD44780-based LCD interface for the growing MyHDL IP > library. I think this is a necessary and useful addition with a lot of > popular appeal. To achieve my design goals, I'll need some > bidirectional/tristate support. How's that coming along? :-) Can I help > somehow? I'll no longer try to release 0.6 before the year-end. Instead, with 0.6dev3 out I now want to make some progress with myhdl.org, so that it is up and running and stable before 0.6. After that, I promise I'll look into the bidir/tristate functionality. I'm sure you'll be able to help but I want to do it right and it will take some time. I may decide to include it in 0.6. Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Losbergenlaan 16, B-3010 Leuven, Belgium From Python to silicon: http://myhdl.jandecaluwe.com |
|
From: Jan D. <ja...@ja...> - 2006-12-13 13:33:09
|
Hi all: 0.6dev3 has been released. I have addressed operator handling, including signed and augmented operators. This can be done cleanly, but it has taken me some time to figure out how :-) VHDL is much more complicated than Verilog in this respect, but the code is now actually cleaner. I've become an expert in resizings, type conversions and castings and I'm now convinced that VHDL designers must be masochists (that includes myself) :-) When 0.6 is released, I really must write a paper on how great the intbv type is! Status info: http://myhdl.jandecaluwe.com/doku.php/dev:todo:0.6 -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Losbergenlaan 16, B-3010 Leuven, Belgium From Python to silicon: http://myhdl.jandecaluwe.com |
|
From:
<joa...@em...> - 2006-12-13 09:38:44
|
Jan Decaluwe wrote: > I've looked at some AVR examples very briefly. > > As I understand it, you can use C to program the AVR > architecture by referring to symbols representing registers > and hardware primitives. So it's a "low-level" kind of C code > in the sense that you couldn't use it for anything else than > to program AVR controllers. We are therefore not really > talking about MyHDL to C, but MyHDL to AVR. > Yes. > Integrating generic C code based on a functional interface > in Python code would be trivial. But again, this doesn't seem > our case here. The hardware interface is embedded in the AVR C > code in the way the register symbols are set up and used. > Yes, exactly. > In short, while I don't exclude that meaningful things could be > done, I don't immediately see what and how (and in a reasonable > development time) O.k., thanks for clearing things up. So MyHDL is very valuable for me for describing the connection from the wire into the AVR via UART, Port or USI (simple shiftregister base serial communication hardware) and simulating a 1-wire network based on that. For the final coding however I'll have to derive C manually. It's o.k. this way, I just did not want to spend time on things that would be to difficult to achieve. But MyHDL is still useful here too because of the easy simulation of modification to the algorithms. Joachim |
|
From: Jan D. <ja...@ja...> - 2006-12-13 09:17:15
|
Joachim König-Baltes wrote: > I've used MyHDL to model the 1-wire protocol from dallas > between a master and a slave, and it was really easy to > do so although I was a bit skeptical concerning the > restrictions of standard generators. > > I was even able to write it as an OO model based on classes. > > As the protocol is rather stable now I'd like to use the > model for synthesizing it, but not into hardware but: > > I'd like to use AVR microcontrollers for doing some home automation > with the 1-wire protocol for the communication between them > (because it's simple and electrically uncritical over "long" > distances). I'd like to map it onto different resources inside > the AVRs depending on their capabilities (UART, port, USI) and > have written models for these resources. > > The AVRs can be programmed in C rather easily. > > Now to my question: > > Is MyHDL suited to synthesize C from the python code? > > My idea would be as follows: A class instance could model a particular > AVR microcontroller and I could assign ports or an UART to be > used for 1-wire communication (and other purposes). I would then > like to simulate the combination of instances connected to form > a 1-wire network and then synthesize one of the instances to C in > order to generate the program for the flash of the AVR. I've looked at some AVR examples very briefly. As I understand it, you can use C to program the AVR architecture by referring to symbols representing registers and hardware primitives. So it's a "low-level" kind of C code in the sense that you couldn't use it for anything else than to program AVR controllers. We are therefore not really talking about MyHDL to C, but MyHDL to AVR. > Is this somehow possible (I'm willing to dig deep into MyHDL). If > not, what else can I do with the model? If I still have to hand-code > the AVR in C, how can I at least have some advantage of MyHDL in > relation to the C-program? Integrating generic C code based on a functional interface in Python code would be trivial. But again, this doesn't seem our case here. The hardware interface is embedded in the AVR C code in the way the register symbols are set up and used. In short, while I don't exclude that meaningful things could be done, I don't immediately see what and how (and in a reasonable development time). Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Losbergenlaan 16, B-3010 Leuven, Belgium From Python to silicon: http://myhdl.jandecaluwe.com |
|
From:
<joa...@em...> - 2006-12-13 07:25:08
|
dannoritzer schrieb: > Have you looked into the toVerilog function? no, not yet, will have a look at it. > I know you don't want to gothat way, just a thought here. I do not mind going that way, seems natural to me. > If you code complies to the restrictions > for toVerilog, I wonder how difficult it would be create a toC function, > based on the existing toVerilog code. > I read a similar question from George Pantazopoulos (on 2006/09/26) about synthesizability of classes and Jan did not give much hope for that. In my case, the classes are somehow essential for me. The individual activities would be handled by ISRs triggered by interrupt on the port pin or by a timer. But I'll have a look at toVerilog and see if I have a chance. Joachim |
|
From: dannoritzer <dan...@we...> - 2006-12-12 16:22:56
|
Joachim König-Baltes wrote: > I've used MyHDL to model the 1-wire protocol from dallas > between a master and a slave, and it was really easy to > do so although I was a bit skeptical concerning the > restrictions of standard generators. > > I was even able to write it as an OO model based on classes. > [...] > > Now to my question: > > Is MyHDL suited to synthesize C from the python code? > Have you looked into the toVerilog function? I know you don't want to go that way, just a thought here. If you code complies to the restrictions for toVerilog, I wonder how difficult it would be create a toC function, based on the existing toVerilog code. Guenter |
|
From:
<joa...@em...> - 2006-12-12 07:56:16
|
I've used MyHDL to model the 1-wire protocol from dallas between a master and a slave, and it was really easy to do so although I was a bit skeptical concerning the restrictions of standard generators. I was even able to write it as an OO model based on classes. As the protocol is rather stable now I'd like to use the model for synthesizing it, but not into hardware but: I'd like to use AVR microcontrollers for doing some home automation with the 1-wire protocol for the communication between them (because it's simple and electrically uncritical over "long" distances). I'd like to map it onto different resources inside the AVRs depending on their capabilities (UART, port, USI) and have written models for these resources. The AVRs can be programmed in C rather easily. Now to my question: Is MyHDL suited to synthesize C from the python code? My idea would be as follows: A class instance could model a particular AVR microcontroller and I could assign ports or an UART to be used for 1-wire communication (and other purposes). I would then like to simulate the combination of instances connected to form a 1-wire network and then synthesize one of the instances to C in order to generate the program for the flash of the AVR. Is this somehow possible (I'm willing to dig deep into MyHDL). If not, what else can I do with the model? If I still have to hand-code the AVR in C, how can I at least have some advantage of MyHDL in relation to the C-program? Joachim |
|
From: David B. <da...@we...> - 2006-11-30 14:50:20
|
Martin d Anjou wrote: > Hi, > > I still hesitate to use MyHDL because of performance concerns for doing > ASIC verification (I have close to zero interest in design). I have been > using "a proprietary verification language" for quite some time now. > Recognizing limitations of this proprietary solution, I've been exploring > alternatives like C++ trusster.com, Digital Mars D StackThreads > (assertfalse.com), Java Jove, and of course MyHDL for its ease of use. > > For example I have run a benchmark using the MyHDL producer-consumer and > the gray encoder in the documentation. The producer-consumer example is as > fast as an equivalent implementation in "the proprietary language". The > gray encoder is 10x slower, but I think the intbv is the bottleneck. > > For code size, MyHDL producer-consumer beats the proprietary solution by a > great margin, and for gray coding the code sizes are almost equal. I have > not looked at memory footprint. > > Do you think it is worth converting intbv or other aspects of MyHDL to C? > Have you explored ways to speed up MyHDL (greenlet, stackless python - > which is still active)? > > Thanks, > Martin > As a general point for speeding up python, have you used psyco? It doesn't work for all kinds of code, but for some things it can make a big difference. Another point is that some operations are significantly faster in python 2.5. If you haven't tried these two, then they will maybe give you an easy speed up. |
|
From: Jan D. <ja...@ja...> - 2006-11-30 09:46:53
|
Martin d Anjou wrote: > Hi, > > I still hesitate to use MyHDL because of performance concerns for doing > ASIC verification (I have close to zero interest in design). I have been > using "a proprietary verification language" for quite some time now. > Recognizing limitations of this proprietary solution, I've been exploring > alternatives like C++ trusster.com, Digital Mars D StackThreads > (assertfalse.com), Java Jove, and of course MyHDL for its ease of use. > > For example I have run a benchmark using the MyHDL producer-consumer and > the gray encoder in the documentation. The producer-consumer example is as > fast as an equivalent implementation in "the proprietary language". The > gray encoder is 10x slower, but I think the intbv is the bottleneck. I wouldn't be suprized if some intbv operations such as indexing turn out to be quite slow. > For code size, MyHDL producer-consumer beats the proprietary solution by a > great margin, and for gray coding the code sizes are almost equal. I have > not looked at memory footprint. > > Do you think it is worth converting intbv or other aspects of MyHDL to C? Converting the intbv class and possibly the Signal class to C may make a lot of sense. It wouldn't be a small task, so this should be confirmed by experiments. Perhaps it's possible to start with those functions that are really slow, instead of the whole class at once. > Have you explored ways to speed up MyHDL (greenlet, stackless python - > which is still active)? Yes - some comments: Greenlets, stackless python and generators have in common that they can model light-weight, massive parallelism. Greenlets and stackless are more powerful, but I believe generators are good enough for HDL purposes. The big advantage of generators is that they are standard Python, unlike stackless; so I can develop myhdl as a conventional python package that works with the standard interpreter. I wouldn't anticipate a performance advantage from using greenlets or stackless. In all cases, we also need a rather strict scheduler with a significant overhead: that is, we have to implement the delta cycle algorithm and signals on top of the parallelization method. At one time I experimented with converting the main simulator loop to C. Basically I had replaced Python access to high-level data structures with C API access to high-level data structures. That doesn't help a lot. Rather, performance advantages can be expected when you can use low-level C types instead of Python types. Another approach has been more succesful. Observe that MyHDL generators can be sensitive to a number of different objects (edge, tuple of edges, signal, tuple of signals, delay ...). In general, the scheduler has to take all possibilities into account each time a generator yields. This is inefficient because many generators will be sensitive to a single kind of object only. So what has been done is that the code of each generator is inspected (yes!) before the simulation starts. Based on that, the generator gets a dedicated scheduler which is efficient for its sensitivity purposes. This technique removes a lot of simulation overhead for typical usage cases. What next? A meaningful next step could be to migrate some functionality to C, as you suggested. Finally, there is PyPy. I once saw a demo by Armin Rigo showing a massive speedup by using psyco. Unfortunately, psyco cannot handle generators. Instead, Armin and others started the PyPy project that at one time may bring psyco-like advantages to general Python code. It would seem to me that MyHDL is a good candidate, because a lot of code is run over and over again during simulation. So perhaps one day I'll be able to report a massive speedup without having to do anything myself :-) That will be the day! Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Losbergenlaan 16, B-3010 Leuven, Belgium From Python to silicon: http://myhdl.jandecaluwe.com |
|
From: Martin d A. <po...@ma...> - 2006-11-29 04:59:45
|
Hi, I still hesitate to use MyHDL because of performance concerns for doing ASIC verification (I have close to zero interest in design). I have been using "a proprietary verification language" for quite some time now. Recognizing limitations of this proprietary solution, I've been exploring alternatives like C++ trusster.com, Digital Mars D StackThreads (assertfalse.com), Java Jove, and of course MyHDL for its ease of use. For example I have run a benchmark using the MyHDL producer-consumer and the gray encoder in the documentation. The producer-consumer example is as fast as an equivalent implementation in "the proprietary language". The gray encoder is 10x slower, but I think the intbv is the bottleneck. For code size, MyHDL producer-consumer beats the proprietary solution by a great margin, and for gray coding the code sizes are almost equal. I have not looked at memory footprint. Do you think it is worth converting intbv or other aspects of MyHDL to C? Have you explored ways to speed up MyHDL (greenlet, stackless python - which is still active)? Thanks, Martin |
|
From: George P. <ge...@ga...> - 2006-11-29 03:13:12
|
Martin d Anjou wrote: > On Tue, 28 Nov 2006, Jan Decaluwe wrote: > >> with things like darcs, git, mercurial ... and sometimes I feel like >> those distributed systems would be more suited to things like myhdl. >> > > I am just a quiet watcher on this mailing list, so I don't plan on > interrupting your discussion. I simply have run into this problem > yesterday at my company, and I just want to share a few links: > > http://www.bitkeeper.com/Comparisons.Subversion.html > http://keithp.com/blog/Repository_Formats_Matter.html > http://www.jukie.net/~bart/blog/git-vs-hg > > And some more: > http://kerneltrap.org/node/5557 > http://www.kernel.org/pub/software/scm/git/docs/tutorial.html > > Git vs Subversion: > http://git.or.cz/gitwiki/GitSvnComparsion > > Martin > Thanks a lot for your links, Martin! I'll be taking a closer look, but I really like the sound of Git because it's used by the linux kernel developers. This tells me that it's well-tested by a rabid bunch of developers who are all over the planet. Rock on, George http://www.gammaburst.net |
|
From: Martin d A. <po...@ma...> - 2006-11-29 03:06:43
|
On Tue, 28 Nov 2006, Jan Decaluwe wrote: > with things like darcs, git, mercurial ... and sometimes I feel like > those distributed systems would be more suited to things like myhdl. I am just a quiet watcher on this mailing list, so I don't plan on interrupting your discussion. I simply have run into this problem yesterday at my company, and I just want to share a few links: http://www.bitkeeper.com/Comparisons.Subversion.html http://keithp.com/blog/Repository_Formats_Matter.html http://www.jukie.net/~bart/blog/git-vs-hg And some more: http://kerneltrap.org/node/5557 http://www.kernel.org/pub/software/scm/git/docs/tutorial.html Git vs Subversion: http://git.or.cz/gitwiki/GitSvnComparsion Martin |
|
From: Jan D. <ja...@ja...> - 2006-11-28 21:43:00
|
George Pantazopoulos wrote: > > I like the distinction made between promotional cores and other cores. I > agree that we'll eventually need a version-controlled repository, and I > would want subversion to be the tool of choice. I'm using subversion locally (in particular for myhdl) and I have been promoting it in the companies that I work with as a consultant. It seems to be emerging as a real winner. So I agree it's a good choice. But, there is so much interesting development going on in this field with things like darcs, git, mercurial ... and sometimes I feel like those distributed systems would be more suited to things like myhdl. Anyway, I think the more important question is: should we host a repository ourselves, or use a hosted service? (The question can be extended to bug trackers, feature trackers, file release pages, etc.) My personal feeling is that there is no conceptual difference between MyHDL IP and any other open-source project, with respect to development support tools. Therefore, we can save time and effort by using a hosted service. Jan -- Jan Decaluwe - Resources bvba - http://www.jandecaluwe.com Losbergenlaan 16, B-3010 Leuven, Belgium From Python to silicon: http://myhdl.jandecaluwe.com |