caramoan tour package

caramoan tour package

Author Topic: Hello World using E-gizmo's CPLD board  (Read 15463 times)

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: Hello World using E-gizmo's CPLD board
« Reply #40 on: April 09, 2009, 12:07:03 PM »
may naiisip akong gawin dito...

meron din kasi ako nung zilog board ni yus, tapos yun ang gagamitin kong MCU... then lahat ng glued logics (instead of using logic gate ics), dito ko na ilalagay.

hmmm.... kaso wala pa akong masip na application! heheh ;D

aT pag-aaralan ko pa yung zilog! heheh :D

ah one more thing...

http://www.electronicslab.ph/forum/index.php?topic=7540.msg125039#msg125039

same idea ng program dyan, pero sineparate ko ang clock division para sa dalawang sets of LEDs (leds lang ant sevensegment), di na kasya sa memory size ng CPLD chip.
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Philippine Electronics Forum

Re: Hello World using E-gizmo's CPLD board
« Reply #40 on: April 09, 2009, 12:07:03 PM »

Offline motion55

  • Technical People
  • Diesel Generator
  • *****
  • Posts: 1882
  • Pogi/Ganda Points: 244
  • Gender: Male
  • Been at this longer than you've been alive.
Re: Hello World using E-gizmo's CPLD board
« Reply #41 on: April 09, 2009, 12:21:06 PM »
Few ideas that crossed my mind are:

a) high speed frequency counter.
b) two axis step motor controller with linear interpolation.
c) DRAM memory controller.
e) 640x480 LCD controller
f) auxiliary UARTs for those needing extra hardware serial ports for their MCU projects.

I don't know if all these will fit in the tiny e-gizmo PLD chip however.


"Set your mind free!"

Philippine Electronics Forum

Re: Hello World using E-gizmo's CPLD board
« Reply #41 on: April 09, 2009, 12:21:06 PM »

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: Hello World using E-gizmo's CPLD board
« Reply #42 on: April 09, 2009, 12:38:25 PM »
Few ideas that crossed my mind are:

a) high speed frequency counter.
b) two axis step motor controller with linear interpolation.
c) DRAM memory controller.
e) 640x480 LCD controller
f) auxiliary UARTs for those needing extra hardware serial ports for their MCU projects.

I don't know if all these will fit in the tiny e-gizmo PLD chip however.


ayos sir! I was actually going to try that UART, kaso naging busy na po ako.

may naisip nga ako ngayon din lang... lots of LED controllers using low pin count mcu like pic16F628. Bale, iuutilize lang yung high count pin ng PLD. A good advantage though not that accurate, one can use the clock output of PIC so to provide clock to the PLD chip. wala kasing clock source ang egizmo's PLD chip. This is why in my example "hello world" i made use of DS32KHz chip - providing 32khz clock.
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Philippine Electronics Forum

Re: Hello World using E-gizmo's CPLD board
« Reply #42 on: April 09, 2009, 12:38:25 PM »

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6129
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: Hello World using E-gizmo's CPLD board
« Reply #43 on: April 12, 2009, 12:46:10 AM »
sister marce,

ano ang gamit mong reference material para sa VHDL? yung nadownload kong circuit design with vhdl. ayos na sana, kaso walang page 50 sa pdf... waaahhh... mga fundamental data operators pa naman yun :( baka madami akong ma miss sa isang page na yun :(
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Philippine Electronics Forum

Re: Hello World using E-gizmo's CPLD board
« Reply #43 on: April 12, 2009, 12:46:10 AM »

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: Hello World using E-gizmo's CPLD board
« Reply #44 on: April 12, 2009, 09:32:30 PM »
sister marce,

ano ang gamit mong reference material para sa VHDL? yung nadownload kong circuit design with vhdl. ayos na sana, kaso walang page 50 sa pdf... waaahhh... mga fundamental data operators pa naman yun :( baka madami akong ma miss sa isang page na yun :(

eto lang ang binabalikbalikan ko...

1D96b^S*.@492D+/558S,?2T/91+<^:-Cc>'8H&

pero honestly, di naman ako nakakapagbasa masyado. busy kasi sa ibang gimik sa buhay.
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Philippine Electronics Forum

Re: Hello World using E-gizmo's CPLD board
« Reply #44 on: April 12, 2009, 09:32:30 PM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: Hello World using E-gizmo's CPLD board
« Reply #45 on: April 13, 2009, 10:38:50 AM »
saan "makakakuha" ng clock source na nasa range of around 100MHz? ???
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: Hello World using E-gizmo's CPLD board
« Reply #46 on: April 13, 2009, 11:19:24 AM »
saan "makakakuha" ng clock source na nasa range of around 100MHz? ???

na-curious din ako nyan... saan nga ba pwedeng kumuha nyan?

nakakuha ka na ba yus nung parallel to usb para sa ganitong apps? di kasi magwowork dito yung ginagamit sa old printers.
salamat nga pala sa pasalubong mo sa aking yus ha. though wala pa sa kamay ko... heheh ;D
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6129
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: Hello World using E-gizmo's CPLD board
« Reply #47 on: April 22, 2009, 12:49:15 PM »
anlayo ko pa yata bago mapag-aralan yung mga CPLD ckts na kailangan ng clock source hehehe.... nasa VHDL sequential circuits pa lang ako hehehe.... pag nagbasa kasi ng book,nakakatulog agad hehe ;D ;D ;D

yung sa xilinx di ko alam kung bug ba yun na yung iniinput ko na value (INTEGER datatype, pero pag STD_LOGIC or STD_LOGIC_VECTOR ok naman... :( ) sa test bench waveform eh di lumalabas sa behavioral simulation?
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10732
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: Hello World using E-gizmo's CPLD board
« Reply #48 on: April 22, 2009, 12:54:30 PM »
na-curious din ako nyan... saan nga ba pwedeng kumuha nyan?

nakakuha ka na ba yus nung parallel to usb para sa ganitong apps? di kasi magwowork dito yung ginagamit sa old printers.
salamat nga pala sa pasalubong mo sa aking yus ha. though wala pa sa kamay ko... heheh ;D

PLL. or 20MHz XTAL oscillator tapos filter 'yung 5th harmonic then feed sa open loop amp or schmitt trigger (though 'di na kaya nung ordinary logic gates na readily available). ganito ginawa ko dati para sa 101MHz na kailangan ko, pero sine 'yung kailangan ko, kaya after ng buffer, may 3rd order filter ako. hehehe.
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10732
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: Hello World using E-gizmo's CPLD board
« Reply #49 on: April 22, 2009, 12:55:30 PM »
ayos sir! I was actually going to try that UART, kaso naging busy na po ako.

may naisip nga ako ngayon din lang... lots of LED controllers using low pin count mcu like pic16F628. Bale, iuutilize lang yung high count pin ng PLD. A good advantage though not that accurate, one can use the clock output of PIC so to provide clock to the PLD chip. wala kasing clock source ang egizmo's PLD chip. This is why in my example "hello world" i made use of DS32KHz chip - providing 32khz clock.

sis marce, mga gaanong kalaki 'yung CPLD ng e-gizmo? gusto ko rin 'yung idea ni sir motion55 na LCD controller. ;D
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: Hello World using E-gizmo's CPLD board
« Reply #50 on: April 24, 2009, 12:23:55 AM »
sis marce, mga gaanong kalaki 'yung CPLD ng e-gizmo? gusto ko rin 'yung idea ni sir motion55 na LCD controller. ;D

hmmm.. maliit lang. 128 macro cells.

"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10732
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: Hello World using E-gizmo's CPLD board
« Reply #51 on: April 27, 2009, 09:11:51 PM »
maliit lang pala. hehehe. wala bang free samples ng FPGA/CPLD? ;D ;D ;D
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: Hello World using E-gizmo's CPLD board
« Reply #52 on: April 27, 2009, 09:42:17 PM »
maliit lang pala. hehehe. wala bang free samples ng FPGA/CPLD? ;D ;D ;D

@rd, may idea kayo kung ano kaliit yang 128 macrocells? honestly, di ko yan naiintindihan... heheh ;D
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10732
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: Hello World using E-gizmo's CPLD board
« Reply #53 on: April 27, 2009, 09:52:22 PM »
combination na ng gates sis like ALU, etc. ;D
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline glutnix_neo

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4162
  • Pogi/Ganda Points: 166
  • Gender: Female
  • A journey to a thousand lines begins w/ LED Blink
    • Underground Workbench
Re: Hello World using E-gizmo's CPLD board
« Reply #54 on: April 28, 2009, 08:13:23 AM »
gusto ko rin matuto nyan, tutorial naman jan ;D

tutorial! tutorial! tutorial! ,hehehehe
If we hear,we forget;if we see, we remember;if we do,we understand.
Let's support the use of free and open source softwares...
http://UndergroundWorkbench.wordpress.com

Offline RiDdLeR???

  • Hydroelectric
  • ***
  • Posts: 3032
  • Pogi/Ganda Points: 208
Re: Hello World using E-gizmo's CPLD board
« Reply #55 on: April 28, 2009, 09:57:56 AM »
may nisip akong application para diyan sa fpga/cpld ..... why not make a 8x8 led cube  .... it will require 72 i/o pins.

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: Hello World using E-gizmo's CPLD board
« Reply #56 on: April 28, 2009, 11:15:08 AM »
alin dito sa dalawa ang mas magandang clock source: ???
ito:
or yung kagaya sa mga MCUs na isang inverter lang (& isa pa to act as "buffer"),
w/ 2 caps to ground.

join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: Hello World using E-gizmo's CPLD board
« Reply #57 on: April 28, 2009, 07:22:59 PM »
may internal storage memory na ba yang CPLD? ???
(e.g. pwede mag-store at least 8KB data?)
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10732
  • Pogi/Ganda Points: 632
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: Hello World using E-gizmo's CPLD board
« Reply #58 on: April 28, 2009, 07:34:23 PM »
ang ginagamit ko 'yung katulad ng sa MCU.

sa programs ng FPGA alam ko merong block para sa memory.
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline marcelino

  • Moderator
  • Solar Power Satellite
  • *****
  • Posts: 6016
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: Hello World using E-gizmo's CPLD board
« Reply #59 on: April 28, 2009, 08:03:04 PM »
ayon sa explaination saakin ni sir motion55, ang cpld ay may kakayahang magsave ng program mo. that is, when power is out, nareretain pa yun. pero maliliit lang ang kakayahan talga ng cpld in contrast to fpgas. whereas sa fpga (in most FPGA chip), kakailanganin mo ng external eeprom para mapagsave ng program or configurations mo. during startup, iloload ng FGPA yun. usually, serial ang interface nyan.

look at this development board, example lang... http://www.altera.com/education/univ/materials/boards/unv-de2-board.html
it is loaded with Cyclone II EP2C35F672C6 with EPCS16 16-Mbit serial configuration device
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Philippine Electronics Forum

Re: Hello World using E-gizmo's CPLD board
« Reply #59 on: April 28, 2009, 08:03:04 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com