Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
822 Views

operational hours for starting a process

hi there guys, 

 

i need help with my VHDL project, 

 

i would like to define operational hours for a process to begin. 

 

 

the insertion of the hours will be entered through a GUI i'm building with WPF. 

 

{for example, i'm entering 7:00 to 19:00 in a GUI i've built in c#, and i would like my project to check wether the current hour is whitin this range; if the answer is yes - start some process.} 

 

how can this be achived? any helpfull references? 

 

 

 

 

 

 

Thanks ahead. 

 

 

 

 

0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
52 Views

To interact with software you need a set of registers that are driven by software and read by fpga. Then you can send any flag to activate any logic.

Altera_Forum
Honored Contributor I
52 Views

Hi @kaz 

can you ellaborate more on this topic? 

what these registers are  

what are the variables types ill need to declare on my VHDL? 

would other program language will do the work except c/c#? 

what's the best way to build a UI that will interact with the FPGA?
Altera_Forum
Honored Contributor I
52 Views

 

--- Quote Start ---  

Hi @kaz 

can you ellaborate more on this topic? 

what these registers are  

what are the variables types ill need to declare on my VHDL? 

would other program language will do the work except c/c#? 

what's the best way to build a UI that will interact with the FPGA? 

--- Quote End ---  

 

 

There are different ways to communicate between PC and fpga such as onchip processor, I2C, memory editor... It is a learning curve that takes time. 

The alternative is to ignore the PC and run fpga on a counter that counts time then you can use this counter to activate logic.
Reply