Altera_Forum
Honored Contributor
20 years agoCreate a new componet(Avalon tristate)
1)
As the components are share the system data/ address bus in the custom board, so we should "share" the bus. Then we found there is no "place" to set "is share " opition, only in the "tristate slave" interface , it will automatic share data/address when we check the class.ptf. And when you use "Tristate slave ", you don't need "export" any signal, as the signals of "tristate slave" will be automaticly "exported", too. Is it right? 2) As we know the tristate slave is byte address, something like the dynamic alignment, so we keep it in our mind when we add such kind slave, always setting them "memory" in the "interface Tab". But we find Lan91c111 using "Native" and "IORD_16DIRECT". We think it is fine,too. But it will waste lot's of address space, as "Native" alignment is DWORD alignment. Why? Is it a guideline? 3) We find the "BIG" differences between the "class.ptf" in the <componets> path , providing by ALTERA and the "class.ptf" created by the "New component", then we search "ptf reference" datasheet, but ALTERA web says it move to "quautus handbook" , but we still cannot find it in the latest handbook. Where? 4) At last, we'd like to suggest ALTERA to give more examples about: a) How to create kinds of components , include share or not share ones,maybe give us comments of how to create the providing components. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif how to set all the opitions, such as hold time, set time, is share.... in the GUI or how to manully modify the "class.ptf". Is it necessary to Let us to manage the "another" language "class.ptf"? Think it , how many "language" we should learn before we are comfortable in "NIOS" world, HDL, C, Perl.....