electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Hardware/Software interface


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> Hardware/Software interface
Author Message
saeddawoud



Joined: 27 Apr 2007
Posts: 156
Helped: 3


Post27 Jun 2007 14:28   

Hardware/Software interface


Hello
we know when writting in high-level language the statements converted into assembly language using the compiler and then into machine code using assembler. ok, but what I can't understand how these binary digits converted into hardware actions.
Regards
Back to top
Google
AdSense
Google Adsense




Post27 Jun 2007 14:28   

Ads




Back to top
WzWzWz



Joined: 25 Aug 2006
Posts: 34
Helped: 1


Post27 Jun 2007 15:51   

Hardware/Software interface


U can add a protocol monitor to check the action compared to assemble code, then look out the high level language with disassemble tool.
Back to top
phoenixfeng



Joined: 27 Mar 2004
Posts: 146
Helped: 9


Post28 Jun 2007 4:38   

Hardware/Software interface


you code was saved in file, and file is stored in some type media:harddisk or flash...etc.
we don't constrate on the storing process , but only see the charactor displayed on the screen, which has been translated by circuits
Back to top
Arturi



Joined: 13 Sep 2006
Posts: 51
Helped: 4


Post28 Jun 2007 10:43   

Re: Hardware/Software interface


Hello,

this assembler/linker will generate a memory content with the instructions of your program. This instructions "binary words" will be fetched by the processor, then decoded. While decoding these instruction bits, electrical signals are driven to perform the execution of this very instruction. The execution will depend on the architecture of your CPU.

For example if the instruction is ADD R1, R2 (i.e., R1 = R1 + R2):
The ADD signal (or flag if you prefer) of the ALU will be set, other signals will select the ALU operands from the right registers (i.e., R1,R2) and the result will be latched back to R1.

Look for some computer architecture tutorial on the net. They will explain you much better than I possible can.

cheers
Back to top
hawk_chenbo



Joined: 28 Sep 2004
Posts: 43
Helped: 2


Post03 Jul 2007 1:59   

Hardware/Software interface


The binary code correpond to certain CPU intructions, which are implemented by hardware CPU.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> Hardware/Software interface
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Hardware/Software interface (11)
serial port interface btw hardware and software... (5)
CAN - USB interface hardware and software help needed (6)
hardware interface and a hardware controller (1)
Hardware Interface (4)
Hardware Interface Help (1)
Best C++ book for hardware interface? (3)
hardware description of network interface card (5)
Hardware/software co-design (5)
Hardware/Software codesign (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS