Embedded Systems AllOther Interview Questions
Questions Answers Views Company eMail

What happens when recursive functions are declared inline?

453

Explain the significance of watchdog timer in embedded systems?

497

What is so great about ?

415

Explain the uses of timers in embedded system?

400

Please explain the difference between mutexes vs semaphores?

432

What are the differences between stateless and stateful systems, and impacts of state on parallelism.

447

What is yagni? Is this list of questions an example?

441

Is count down_to_zero loop better than count_up_loops?

485

What is risc architecture?

463

Explain the difference between mutexes vs semaphores?

463

Why continuous integration is important?

421

What are the essential components of embedded system?

411

What are the 4 types of inheritance relationship?

445

Can we use printf inside isr?

465

What is the difference between hard real-time and soft real-time os?

424


Post New Embedded Systems AllOther Questions

Un-Answered Questions { Embedded Systems AllOther }

Advantages and disadvantages of using macro and inline functions?

481


What is your experience with technical documentation?

552


Explain what is the difference between mutexes and semaphores?

398


Infinite loops often arise in embedded systems. How does you code an infinite loop in c?

783


What is the scope of a function that is declared as static?

447






Write a constant time consuming statement lot finding out if a given number is a power of 2?

470


What is the repository pattern?

459


What are the essential components of embedded system?

411


Tell me how does input/output bus functions?

438


This program is in verilog and need help to get it working correctly. This is the code i have so far. Please help. Simple testbench would be great. Thanks\ 'define vend_a_drink {D,dispense,collect} = {IDLE,2'b11}; module drink_machine(nickel_in, dime_in, quarter_in, collect, nickel_out, dime_out, dispense, reset, clk) ; parameter IDLE=0,FIVE=1,TEN=2,TWENTY_FIVE=3, FIFTEEN=4,THIRTY=5,TWENTY=6,OWE_DIME=7; input nickel_in, dime_in, quarter_in, reset, clk; output collect, nickel_out, dime_out, dispense; reg collect, nickel_out, dime_out, dispense; reg [2:0] D, Q; /* state */ // synopsys state_vector Q always @ ( nickel_in or dime_in or quarter_in or reset ) begin nickel_out = 0; dime_out = 0; dispense = 0; collect = 0; if ( reset ) D = IDLE; else begin D = Q; case ( Q ) IDLE: if (nickel_in) D = FIVE; else if (dime_in) D = TEN; else if (quarter_in) D = TWENTY_FIVE; FIVE: if(nickel_in) D = TEN; else if (dime_in) D = FIFTEEN; else if (quarter_in) D = THIRTY; TEN: if (nickel_in) D = FIFTEEN; else if (dime_in) D = TWENTY; else if (quarter_in) 'vend_a_drink; TWENTY_FIVE: if( nickel_in) D = THIRTY; else if (dime_in) 'vend_a_drink; else if (quarter_in) begin 'vend_a_drink; nickel_out = 1; dime_out = 1; end FIFTEEN: if (nickel_in) D = TWENTY; else if (dime_in) D = TWENTY_FIVE; else if (quarter_in) begin 'vend_a_drink; nickel_out = 1; end THIRTY: if (nickel_in) 'vend_a_drink; else if (dime_in) begin 'vend_a_drink; nickel_out = 1; end else if (quarter_in) begin 'vend_a_drink; dime_out = 1; D = OWE_DIME; end TWENTY: if (nickel_in) D = TWENTY_FIVE; else if (dime_in) D = THIRTY; else if (quarter_in) begin 'vend_a_drink; dime_out = 1; end OWE_DIME: begin dime_out = 1; D = IDLE; end endcase end end always @ (posedge clk ) begin Q = D; end endmodule

2896


Explain the differences between analytical and computational modeling?

429


Do you know what is priority inversion?

421


Tell me what is top half & bottom half of a kernel?

428


What typecast is applied when we have a signed and an unsigned int in an expression?

552


Differentiate between mutexes vs semaphores.

466