python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
field started with % in struct in Specman
I am new to Specman, just don't know what the "%" prefix of a field in struct mean?
for example, the codes below.
struct packet_s like any_sequence_item {
%addr : uint(bits: 2);
%data ...

Chad Tsai
Votes: 0
Answers: 1
Why is struct pointer variable printing the whole thing inside the struct variable it's pointing to even though I want to print a specific element?
I created a struct datatype 'ans' that contains three string datatype member variables a[2],b[2],c[2]. Inside main, I created a struct variable 'p' to accept the three string inputs and then pass it t...
Soumyajit Roy
Votes: 0
Answers: 3
Why can't I just use this array without specifying its size?
int main()
{
struct Student_struct {
char name[40];
int age;
float grade;
};
struct Student_struct student;
printf("---------------------Student---------...
Normye
Votes: 0
Answers: 5
How to convert Spark map type into struct?
Consider the code:
.withColumn("my_column",
aggregate(
col("input_column"),
map(),
(acc, c) => map_concat(acc, map(col("name"), col("other&q...
Cherry
Votes: 0
Answers: 1