alvieboy Posted May 5, 2013 Report Share Posted May 5, 2013 We're ultimating the ZPUino 2.0 release right now. Some of the most prominent changes include the new Arduino 1.5 IDE, and a few important changes in HDL code. One of the changes is support for device identification, which allows the user to scan the available devices using a product and vendor ID, like USB and PCI do. Here's a sample output from my "systeminfo" sketch, running on a PPro board:Press ENTER to show system infoSlot 0: ZPUino System ControllerSlot 1: ZPUino UARTSlot 2: ZPUino GPIO ControllerSlot 3: ZPUino Dual Timer Interface with PWMSlot 4: ZPUino SPI interfaceSlot 5: ZPUino 16-Bit Dual SigmaDeltaSlot 6: ZPUino SPI interfaceSlot 7: ZPUino Hardware CRC16 engineSlot 8: No device attachedSlot 9: No device attachedSlot 10: No device attachedSlot 11: No device attachedSlot 12: No device attachedSlot 13: No device attachedSlot 14: No device attachedSlot 15: ZPUino Bootloader CodePPS outputs: 6 PPS0 maps pin 0 of '16-Bit Dual SigmaDelta' in slot 5 PPS1 maps pin 0 of 'Dual Timer Interface with PWM' in slot 3 PPS2 maps pin 1 of 'Dual Timer Interface with PWM' in slot 3 PPS3 maps pin 0 of 'SPI interface' in slot 6 PPS4 maps pin 1 of 'SPI interface' in slot 6 PPS5 maps pin 1 of '16-Bit Dual SigmaDelta' in slot 5PPS inputs: 1 PPS0 maps pin 0 of 'SPI interface' in slot 6Not only the slot devices can be identified, but also their PPS indexes. This eases the development of libraries. In conjunction with this a few libraries will be published, including a "BaseDevice" from which you should derive your code classes that are to use wishbone devices, and specify your vendor/product IDs and the instance number. A "DeviceRegistry" class will be avaliable to control which devices are registered to which slots. All this will be properly documented before 2.0 release. Alvie Link to comment Share on other sites More sharing options...
alex Posted May 6, 2013 Report Share Posted May 6, 2013 That's pretty cool. Link to comment Share on other sites More sharing options...
neslekkim Posted May 6, 2013 Report Share Posted May 6, 2013 Will there be an pipistrello build that supports the various things on that? (sdcard, audio, hdmi, pmod etc?) Link to comment Share on other sites More sharing options...
alvieboy Posted May 6, 2013 Author Report Share Posted May 6, 2013 Well, it's possible to have at least some. But for that I need a pipistrello board to test, unless someone else wants to port stuff for the board. Anyone up to it ? Link to comment Share on other sites More sharing options...
Logxen Posted May 6, 2013 Report Share Posted May 6, 2013 That sounds great! Do you have any plans about how to distribute the vendor ids? Link to comment Share on other sites More sharing options...
alvieboy Posted May 7, 2013 Author Report Share Posted May 7, 2013 Logxen: something simple. Everyone wishing to get his vendor ID just needs to get in touch with anyone with repository RW access, so we can update a master file with all vendor/product IDs (or vendor only). Vendor IDs are 8-bit, as well as product IDs. This is probably more than sufficient for the near future. BestAlvie Link to comment Share on other sites More sharing options...
neslekkim Posted May 7, 2013 Report Share Posted May 7, 2013 Where is the repository for zpuino v2?, or is it maybe private yet? Link to comment Share on other sites More sharing options...
alvieboy Posted May 7, 2013 Author Report Share Posted May 7, 2013 HDL: https://github.com/alvieboy/ZPUino-HDL/tree/work-0200 IDE is not yet pushed upstream, not until it builds cleanly Link to comment Share on other sites More sharing options...
AIY Posted September 23, 2013 Report Share Posted September 23, 2013 So how does it compare to the 1.0 code in terms of device utilization? Apropos:When I started synthesizing the ZPUino HDL code for my own papilios I was astounded at the number of warnings produced by ISE (which is nothing new, when code gets just a little bit more complex this almost always happens). It is hard to wade through the warnings to find what's actually buggy in your own code... AIY Link to comment Share on other sites More sharing options...
alvieboy Posted September 23, 2013 Author Report Share Posted September 23, 2013 Most warnings relate to unused flip flops. This is expected. So nothing is buggy there, just that we are using VHDL in such a way that more unused signals are generated, and properly trimmed by the synthesis tool. This makes VHDL code more readable, and we trust the tool to do the proper job for us. I don't have a concrete size utilization comparison, but it should be fairly identical (a few extra LUT for the device identifiers). But nothing much. Link to comment Share on other sites More sharing options...
Jack Gassett Posted September 23, 2013 Report Share Posted September 23, 2013 Yeah, the first thing I learned about the Xilinx tools are that they generate an overwhelming amount of warnings. Pretty much every project that was more then a couple of lines ends up drowning you in warning messages. It's so common that someone always brings it up when I go to Xilinx training events... I think one of the goals with the new Vivado ISE is to get a better handle on those warnings. Jack. Link to comment Share on other sites More sharing options...
alvieboy Posted March 18, 2014 Author Report Share Posted March 18, 2014 Ok guys, after almost a year (!) after, I managed to publish the 2.0 BETA IDE for testing purposes. It should support 1.0 and 2.0 boards, as well as Arduino AVR and SAM. It is not up-to-date with Jack's ZAP however. If you guys could at least do some runs with 1.0 version, that would be excellent. I'll publish some of 2.0 bitfiles shortly. You can grab the IDE from here: http://alvie.com/zpuino/downloads/2.0/beta/ (win32, linux32, linux64, no mac yet). If any issue arises, please report it on the github issiue page. Alvie Link to comment Share on other sites More sharing options...
alvieboy Posted March 19, 2014 Author Report Share Posted March 19, 2014 You can find a bitfile for PPRO here: http://alvie.com/zpuino/downloads/2.0/beta/bitfiles/ Link to comment Share on other sites More sharing options...
alvieboy Posted May 8, 2014 Author Report Share Posted May 8, 2014 Another 2.0 release: I just uploaded a new preliminary version of ZPUino 2.0. http://alvie.com/zpuino/downloads/2.0/beta2/ Feel free to try it and report your findings. Alvie Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.