This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Question of N2HET instruction.

Other Parts Discussed in Thread: HALCOGEN

Hi, TI.

 

The following functions are generated by the halcogen03.00.01.

 

    void hetResetTimestamp(hetRAMBASE_t * hetRAM)

    {

        hetRAM->Instruction[0U].Data = 0;

    }

    uint32_t hetGetTimestamp(hetRAMBASE_t * hetRAM)

    {

        return hetRAM->Instruction[57U].Data;

    }

 

I have a question.

 

        hetRAM->Instruction[0U].Data = 0;

        -> Q1: What is the N2HET instructions ?

        hetRAM->Instruction[57U].Data;

        -> Q2: What is the N2HET instructions ?

 

Answer, Please.

 

Thanks for my post reading.

  • Iyoo,

    Thank you very much for your posting. I have forwarded your question to TI halcogen expert and will get back to you as soon as possible.

    Thanks and regards,

    Zhaohong

  • Lyoo,

    Out of context, it is impossible to answer your question.

    Anyway, I will try to answer with some background on NHET.

    Each NHET instruction consists of 3 32bit field:
    1] Program_Word (or opcode)
    2] Control_Word
    3] Data_Word
    4] Reserved.

    each instruction uses 128bit of RAM in NHET memory.

    Halcogen uses a structure to reference the different field. (het.h)

            hetRAM->Instruction[0U].Data = 0;
    This will write to the data field of th first instruction the value 0x0000_0000.

            return hetRAM->Instruction[57U].Data;
    This will return the content of the data field of instruction 57.

    Please let me know if this clarify your problem.

    Best Regards,

    Jean-Marc

  • Lyoo,

    We replied to your question 2 weeks ago

    If your question has been answered, could you please mark it as "Verified Answer" so we can close this thread.

    Thanks and Regards,

    Jean-Marc